Sun?
Posted: March 27th, 2009, 8:43 pm
Hey guys, I've had your page bookedmarked for awhile but this is my first post. I was wondering if you could give me some help with my lighting? Oh K, so I was working on this map. I read the IW web page about how to insert a sun. I did what they told me to but for some reason the program won't read my .txt files. I need to copy another file and edit it. I had to with my .gsc and my .csv. I didn't have any other .sun files and naming it .sun doesn't work.... My work around for this was to open the mp_test.map delete everything and go from there. I don't think the mp_test.map use's a .sun file but it's in the worldspawn. I was able to get my lighting to sorta work from there.
So my question now is what settings do what? My outdoor lighting has a blue tint. Sorta like a moon light. I'm using sky_pripyat. The sun in that sky is located about x 1808 y 2018 on my map. Would they be my settings for sundirection? I want it coming away from that point? I'm a little confused on why each value has 3 #'s behind it. Not sure on the differance between _color and suncolor. Also, ambient is set to 0?
My light preview and in game lighting has a pretty drastic differance.
my settings look like this
_color .4 .3 .2
ambient 0
classname worldspawn
contrastGain .40
diffusefraction 0.40
suncolor 0 0 0
sundifusecolor 0.5 0.6 1
sundirection 900 900 0
sunlight 5
sunRadiosity 1
While compileing the map I also get.
"WARNING Increasing sunradiosity from 1 to 2 to match ambient + diffuse"
Any help would be greatly appreciated!
So my question now is what settings do what? My outdoor lighting has a blue tint. Sorta like a moon light. I'm using sky_pripyat. The sun in that sky is located about x 1808 y 2018 on my map. Would they be my settings for sundirection? I want it coming away from that point? I'm a little confused on why each value has 3 #'s behind it. Not sure on the differance between _color and suncolor. Also, ambient is set to 0?
My light preview and in game lighting has a pretty drastic differance.
my settings look like this
_color .4 .3 .2
ambient 0
classname worldspawn
contrastGain .40
diffusefraction 0.40
suncolor 0 0 0
sundifusecolor 0.5 0.6 1
sundirection 900 900 0
sunlight 5
sunRadiosity 1
While compileing the map I also get.
"WARNING Increasing sunradiosity from 1 to 2 to match ambient + diffuse"
Any help would be greatly appreciated!