Hi.
Its better use in outdoor(city) scene one Real Light(sun) or Lightmap?
why?
Real Light or Lightmap?
Most games with immersive levels use a lightmap for static objects, real light for shadows of dynamic objects and highlighting key areas of the level.
Why - because a lightmap is a pre-calculated texture map. Dynamic lighting requires a lot of calculations in your cpu or graphics hardware. Also, the number of dynamic lights with current hardware is limited - to 8 lights on a typical new graphics card.
If your city scene buildings don't sway in the breeze, I would use a lightmap.
Why - because a lightmap is a pre-calculated texture map. Dynamic lighting requires a lot of calculations in your cpu or graphics hardware. Also, the number of dynamic lights with current hardware is limited - to 8 lights on a typical new graphics card.
If your city scene buildings don't sway in the breeze, I would use a lightmap.
Intellectuals solve problems - geniuses prevent them. -- Einstein
#irrlicht on irc.freenode.net
#irrlicht on irc.freenode.net
-
- Posts: 56
- Joined: Thu Oct 12, 2006 5:15 am
I was under the impression you could bypass the limit by coding a shader that looks for more.sgt_pinky wrote:Also, the number of dynamic lights with current hardware is limited - to 8 lights on a typical new graphics card.
But as for the outdoor scene, you could try having a series of lightmaps for different times of the day. Maybe one for every hour or so.