Wednesday, January 9, 2008

Shadows added

New screenshot of my engine where shadows were added.

Shadows techniques are cpu-expensive I will need to find how to limit them and make them lod dependent.

Any way it is progressing well.


Amir H. Fassihi said...

Nice, what kind of shadows are these?

Steven 'lazalong' Gay said...

The shadows techniques are those defined by the Ogre library.
The screenshot uses Ogre::SHADOWTYPE_STENCIL_MODULATIVE. Unfortunately it is the most expensive and it shows on the framerate... The most cpu friendly is SHADOWTYPE_TEXTURE_MODULATIVE but the result was not so crisp - hopefully I find a way to make it better with the texture technique.

You can find information and the techniques here: