Topic: Shadows?
Real time shadows for like day and night cycles I tried stencil shadows but it was far to slow, anyone recommend another way to do it?
GMan's Mods & Stuff → Programming → Shadows?
Real time shadows for like day and night cycles I tried stencil shadows but it was far to slow, anyone recommend another way to do it?
interesting with the stencil shadows. the OGL implementation, at least on this machine, runs at a much higher framerate than the DX versions. like 15 FPS vs 50-60 FPS. as for an alternate, im afraid i have no solutions for that
I guess this depends a little bit on how many objects need to cast shadows and if moveable objects need to intersect the shadowed areas.
I would at first make use of lightmaps and use realtime shadows only for the objects you interact with, e.g. the player, npcs, moveable objects and so on.
What a bout having a set of like 10 lightmaps that you fade from one to another as the sun moves around?
GMan's Mods & Stuff → Programming → Shadows?
Powered by PunBB, supported by Informer Technologies, Inc.