light problem
Post Reply
Quote
Re: light problem
Posted by kdhunt2000 on Tue Jan 18th at 3:25am 2005


ok, I have the borealis sky set, and I have a light_environment. I set the brightness fomr being as birhgt as it can be to less bright, same with ambience (tho I am not sure what ambience does). I want my map to be at night but my sand is too bright and my water is too dark. Plz help

Pic:

http://img143.exs.cx/img143/3922/cshaunted00004ol.jpg





Quote
Re: light problem
Posted by satchmo on Tue Jan 18th at 3:50am 2005


What are your exact light_environment settings? If you want to set a night-time environment, the light setting should probably be around 25-50. Ambient is the amount of "scattered light" that comes from any skybox texture. It has no particular direction but exudes light perpendicular to any skybox texture surface. [addsig]



Quote
Re: light problem
Posted by kdhunt2000 on Tue Jan 18th at 4:25am 2005


what do u mean scattered light? I am ocnfused by that.

here are my settings

pitch : -75

brightness : 229 229 229 200

ambient : 230 230 230 20





Quote
Re: light problem
Posted by satchmo on Tue Jan 18th at 4:29am 2005


? quoting kdhunt2000
what do u mean scattered light? I am ocnfused by that.

here are my settings

pitch : -75

brightness : 229 229 229 200

ambient : 230 230 230 20

In the real world, even when sunlight is not coming directly into a room, there is still plenty of light during the daytime, correct? That's scattered light. It comes through the windows even though no direct light shines into the room.

Set the brightness to 50 instead of 200. What color is 229 229 229? Change ambient brightness to 10 instead of 20.

[addsig]




Quote
Re: light problem
Posted by omegaslayer on Tue Jan 18th at 4:39am 2005


good sun is 230 230 200....always worked for me
[addsig]




Quote
Re: light problem
Posted by kdhunt2000 on Tue Jan 18th at 5:30am 2005


ok thx and omega, it is at night so I odnt need a sun



Quote
Re: light problem
Posted by Leperous on Tue Jan 18th at 11:07am 2005


kdhunt, please start putting some effort into spelling. It looks like either your sun is too bright (the last of 4 values in the brighness field) or that you need cubemaps.



Quote
Re: light problem
Posted by TheSchwartz on Tue Jan 18th at 12:12pm 2005


Just a guess, have you tried placing an [e]env_cubemap[/e] in your map and then to call the 'buildcubemaps' command from the console after the map has loaded? [addsig]



Quote
Re: light problem
Posted by DrGlass on Tue Jan 18th at 4:16pm 2005


for night time you need to make a white-blue color light_environment.

 000 000 000 200 < this is the brightness
|----------|this is the color


make an env_cubemap in your map above the water, then once your in game run the console command buildcubemaps.

try a diffrent water or sand texture and see if that helps.






Quote
Re: light problem
Posted by rs6 on Tue Jan 18th at 8:51pm 2005


try using a cleaner water, one that not as dark. [addsig]



Quote
Re: light problem
Posted by kdhunt2000 on Tue Jan 18th at 11:31pm 2005


wtf is a buildcubemaps gonna do, I dont get the point of it.



Quote
Re: light problem
Posted by TheSchwartz on Tue Jan 18th at 11:42pm 2005


Valve explains in the source sdk documentation that 'Using the cubemap as a sampling point, specular and environment-mapped materials are able to more accurately reflect their environments' read more about this at:

http://www.valve-erc.com/srcsdk/Levels/cubemaps.htm

[addsig]





Post Reply