VBGamer |
|||||||||||||||||||||||||||
RE: realtime shadows Carl (1 reply, 0 views) (2000-Jul-24) If you want to ignore framerates then yes you could do some stunning real time shadows (does under 1 fps count as real time????)
You could probably write a simple and fast shadow engine in VB, but it won't look amazing. But for best effect and speed try using a stencil buffer, although I'm still trying to figure it out so I can't help you with code, but a stencil buffer is the way to go.
Depending on what your working on though it might be possible to calculate most of the shadows before run-time (either in an editor or whilst loading the level) and then only having to calculate a couple of movable objects shadows (eg. the player)
|