Mark.. Blitz's Z-buffer accessible, but...

Blitz3D Forums/Blitz3D Programming/Mark.. Blitz's Z-buffer accessible, but...

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.

Actually, even if we had access to the stencil buffer in Blitz we still couldn't do shadows because there is no way to get the vertex locations in an animated mesh. Thus we could not extrude a volume from one and thus we could not render that volume to the stencil buffer. In addition, because stencil buffers require such low ploygon models, and we lack pixel shaders to do proper dot3 normal mapping, we'd be stuck using very crappy looking low polygon models instead of svery snazzy looking low polygons models like Doom 3.

Neither zbuffer access nor stencil buffer access alone is a magic bullet for fast, great looking shadows.