sun dont work

sun dont work

Re: sun dont work Posted by mrnatural332000 on Fri Oct 5th 2007 at 11:51pm
mrnatural332000
29 posts
Posted 2007-10-05 11:51pm
29 posts 33 snarkmarks Registered: Aug 21st 2007
how do you use the env_sun entity? its not lighting my level and i dont understand why not.

thanks in advance
Re: sun dont work Posted by Natus on Sat Oct 6th 2007 at 12:30am
Natus
570 posts
Posted 2007-10-06 12:30am
Natus
member
570 posts 76 snarkmarks Registered: Jan 28th 2005 Location: Denmark
env_sun doesn't emit light, light_environment does.

All the env_sun does is add a sun to your level, that's just a big glowing ball in the sky, but it doesn't create light.
Re: sun dont work Posted by fishy on Sat Oct 6th 2007 at 12:31am
fishy
2623 posts
Posted 2007-10-06 12:31am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
it's the light_environment entity that lights your map. the env_sun is only an effect that dazzles the player when he looks towards it.

set the "use angles" property of the env_sun to "yes", and enter exactly the same "angles" and "pitch" values as your light_environment.

as most skies have a sun or bright spot already in them, finding the exact values that will align your light_env or env_sun to this bright spot would be pretty time consuming, so it's good that someone thought to put a list of all the hl2 skies and their original light_env settings here.
i eat paint
Re: sun dont work Posted by mrnatural332000 on Sat Oct 6th 2007 at 12:38am
mrnatural332000
29 posts
Posted 2007-10-06 12:38am
29 posts 33 snarkmarks Registered: Aug 21st 2007
well thank you for the replies