Program 20 – Stencil Shadow
22.12.2004
Program show stencil shadow and bump mapping with attenuation. I use z-fail algorithm which is described in Practical and Robust Shadow Volumes (.pdf) (2153 KB) document.
Program request hardware accelerated 8 bits stencil buffer. Uses also pixel shader 1.1.