light problem

light problem

Re: light problem Posted by kdhunt2000 on Tue Jan 18th 2005 at 3:25am
kdhunt2000
98 posts
Posted 2005-01-18 3:25am
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
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
Re: light problem Posted by satchmo on Tue Jan 18th 2005 at 3:50am
satchmo
2077 posts
Posted 2005-01-18 3:50am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
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.
Re: light problem Posted by kdhunt2000 on Tue Jan 18th 2005 at 4:25am
kdhunt2000
98 posts
Posted 2005-01-18 4:25am
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
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
Re: light problem Posted by satchmo on Tue Jan 18th 2005 at 4:29am
satchmo
2077 posts
Posted 2005-01-18 4:29am
satchmo
member
2077 posts 1809 snarkmarks Registered: Nov 24th 2004 Occupation: pediatrician Location: Los Angeles, U.S.
<DIV class=quote>
<DIV class=quotetitle>? quoting kdhunt2000</DIV>
<DIV class=quotetext>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

</DIV></DIV>

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.
Re: light problem Posted by omegaslayer on Tue Jan 18th 2005 at 4:39am
omegaslayer
2481 posts
Posted 2005-01-18 4:39am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
good sun is 230 230 200....always worked for me :biggrin:
Re: light problem Posted by kdhunt2000 on Tue Jan 18th 2005 at 5:30am
kdhunt2000
98 posts
Posted 2005-01-18 5:30am
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
ok thx and omega, it is at night so I odnt need a sun
Re: light problem Posted by Leperous on Tue Jan 18th 2005 at 11:07am
Leperous
3382 posts
Posted 2005-01-18 11:07am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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.
Re: light problem Posted by TheSchwartz on Tue Jan 18th 2005 at 12:12pm
TheSchwartz
30 posts
Posted 2005-01-18 12:12pm
30 posts 63 snarkmarks Registered: Dec 7th 2004 Occupation: Project Lead Process Improvement Location: Denmark
Just a guess, have you tried placing an env_cubemap in your map and then to call the 'buildcubemaps' command from the console after the map has loaded?
Re: light problem Posted by DrGlass on Tue Jan 18th 2005 at 4:16pm
DrGlass
1825 posts
Posted 2005-01-18 4:16pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
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.
Re: light problem Posted by rs6 on Tue Jan 18th 2005 at 8:51pm
rs6
640 posts
Posted 2005-01-18 8:51pm
rs6
member
640 posts 94 snarkmarks Registered: Dec 31st 2004 Occupation: koledge Location: New Jersey, USA
try using a cleaner water, one that not as dark.
Re: light problem Posted by kdhunt2000 on Tue Jan 18th 2005 at 11:31pm
kdhunt2000
98 posts
Posted 2005-01-18 11:31pm
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
wtf is a buildcubemaps gonna do, I dont get the point of it.
Re: light problem Posted by TheSchwartz on Tue Jan 18th 2005 at 11:42pm
TheSchwartz
30 posts
Posted 2005-01-18 11:42pm
30 posts 63 snarkmarks Registered: Dec 7th 2004 Occupation: Project Lead Process Improvement Location: Denmark
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