lighting

lighting

Re: lighting Posted by cheeseballz on Sat Apr 1st 2006 at 4:24am
cheeseballz
27 posts
Posted 2006-04-01 4:24am
27 posts 3 snarkmarks Registered: Jan 8th 2006
Can someone explain the difference between light_dynamic,
light_enviormental, light and if theres any more. I know how to
use them sort of based on tutorials, but how do i use each of them?
thanks!
Re: lighting Posted by Dr Brasso on Sat Apr 1st 2006 at 6:43am
Dr Brasso
1878 posts
Posted 2006-04-01 6:43am
1878 posts 198 snarkmarks Registered: Aug 30th 2003 Occupation: cad drafter Location: Omaha,NE
well, basicly, and i MEAN basicly, in a nutshell, light_dynamic is a moveable setup....the light shines from whatever position the entity is moved to....usefull on hanging lights in combat areas etc....light_environmental is just that.....it deals with the sky and skybox visibility factors, in the outside areas usually....and light, well, its a fixed position, adjustable entity, that i use more for dim lighting in dark areas (caves, tunnels, dark areas with complex geometry....)

hope that helps a bit....i dug around a bit and really didnt find much that would explain it alot better than i have....lots of tuts around though, maybe they will help... :smile:

http://www.editlife.net/tutorial.php?id=28

Doc B.. :dodgy:
Re: lighting Posted by Captain P on Sat Apr 1st 2006 at 8:08am
Captain P
1370 posts
Posted 2006-04-01 8:08am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
Another note: light, light_spot and light_environment are static lights - they only affect the lightmaps built during the compile (lightmaps are a sort of colored texture overlay, to give the impression of lighting in-game. This also means, the more surfaces in your map, the more lightmaps need to be built and the more size they'll take, depending on the size of these surfaces of course).

light_dynamic, and I believe light_spot can be set to it too, are dynamic lights. They can look nice, especially for those swinging lamps and such, but they're harder to handle for the CPU.
Create-ivity - a game development blog
Re: lighting Posted by Vash on Sat Apr 1st 2006 at 12:54pm
Vash
1206 posts
Posted 2006-04-01 12:54pm
Vash
member
1206 posts 181 snarkmarks Registered: Feb 4th 2003 Occupation: Afraid of Spiders