Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to make a nice looking night scene? #360925
02/27/11 22:30
02/27/11 22:30
Joined: Oct 2010
Posts: 11
Netherlands Antilles
A
aaronde Offline OP
Newbie
aaronde  Offline OP
Newbie
A

Joined: Oct 2010
Posts: 11
Netherlands Antilles
Hi
I am making a game that takes place outside at night. I want to know what values for sun and ambient (in WED) would look good.

I also though to make it fogy. Wath for color do you recommend me. Or what skybox would look good if I don't use fog. Or is there a way to use fog and skybox. Maybe a skybox where the moon is blurred to make it look like its behind the fog.

I'm just asking this to know what other people think. So I can make a better game.

Maybe I'll upload some screenshots later.

Re: How to make a nice looking night scene? [Re: aaronde] #360962
02/28/11 08:30
02/28/11 08:30

C
chris_oat
Unregistered
chris_oat
Unregistered
C



well, its really hard to tell you a specific value for the sun and ambient value. I'd recomment you play around til YOU think it looks good, but make sure you write a function where you can change those values in realtime while you run around the level, you can also find a similar code in the Aums or even in the Manual i think.

Night Skyboxes you can find all around the Internet or even the forum or Free Recoures Site.

Fog makes the Night Scene even more atmospheric, you can check out Helghast Fog Code for that (Search for it).
Also make use of distance fog (manual).

OR...

just take a look at MystyMood, which has dynamic day/night change.

Re: How to make a nice looking night scene? [Re: ] #360967
02/28/11 09:06
02/28/11 09:06
Joined: Apr 2005
Posts: 3,815
Finland
Inestical Offline
Rabbit Developer
Inestical  Offline
Rabbit Developer

Joined: Apr 2005
Posts: 3,815
Finland
It all depends on the genre, style of graphics and the effect you desire to achieve.

You can get a good RGB value for the ambient and sun by first making them to almost 0, and then slightly pulling them up with heightened blue value. A script creating a panel that shows the current values, bind keys to the sun/ambient and begin slowly to play with the values.

As for the skybox+fog: it's possible and it should work just fine. There should be a fog setting in the WED properties and I think you can change the values with a script.

Code:
// fog :
fog_color.red/.green/.blue
camera.fog_start, camera.fog_end

// sun color:
sun_color.red/.green/.blue

// ambient:
ambient_color.red/.green/.blue




"Yesterday was once today's tomorrow."
Re: How to make a nice looking night scene? [Re: ] #360968
02/28/11 09:09
02/28/11 09:09
Joined: Aug 2008
Posts: 482
B
bart_the_13th Offline
Senior Member
bart_the_13th  Offline
Senior Member
B

Joined: Aug 2008
Posts: 482
If it has to pitch dark night, sun and ambient must be set to 0, but it depends on the gameplay, whether you want to allow player to see in the dark or not

Re: How to make a nice looking night scene? [Re: bart_the_13th] #360974
02/28/11 11:13
02/28/11 11:13
Joined: Feb 2009
Posts: 2,154
Damocles_ Offline
Expert
Damocles_  Offline
Expert

Joined: Feb 2009
Posts: 2,154
A nice star cubemap, make up most of the athmosphere.
For the ambience, try to make something like
10,10,20 For RGB Color (Blue is always a nice night-time color)



Moderated by  checkbutton, mk_1 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1