Carmack's Reverse - (stencil shadows) here it is.

Blitz3D Forums/Blitz3D Programming/Carmack's Reverse - (stencil shadows) here it is.

You have to download the userlibs.

I get a MAV on SetRenderState().