env lighting?


josh_u[RR]
03-05-2005, 09:20 PM
couple of questions:

first, I know how to change the angle of the light, but what about direction? I've got a sun in my sky and all the shadows go the wrong direction. can I change which direction they go, or should I just move the sun in my sky?

another thing. I saw a tutorial somewhere on how to add a lens effect to the sun, but I can't find it now. anybody know how to do this? thanks.

josh_u[RR]
03-09-2005, 12:44 AM
figured the first question out, so I'll post it here in case someone ever uses the search function. :p

all you have to do is change out the light_environment for a light_spot and set the "is sky" variable to yes. it works just like a light_environment in that the light comes from the sky texture, but you can set the direction by rotating the "yaw" arrow. you do not need (or want, probably) an info_target.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.