Dynamic lightsystem with shadows!

Blitz3D Forums/Blitz3D Programming/Dynamic lightsystem with shadows!

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

"Unfortunately it's not the fastest system in the world (it doesn't run too hot on older cards)"

I beg to differ. :-) My shadow systme is the fastest "real" shaodw system available for Blitz. It's not fair to compare the speed of my system to one in C, or to the speed of towel shadows which won't allow you to do the effects of Splinter Cell.

A major reason it's slow is that you can't render stuff to a texture in Blitz. Not only is it expensive to rneder those textures, but copying them from the screen buffer is slow as well.

About Splinter Cell's shadows...

They look very much like the shadows I cast. Notice how no objects that cast shadows cast shadows onto themselves. Like the pipe for example.

Also note how not all objects cast shadows. They very carefully chose which objects they wanted to cast shadows.

Oh and what makes you think that shadows can run well on older cards? There was a reason Quake didn't have any shadows. :-)