Thursday 1 February 2007

3 types of shadow volumes

So yours truly got bored yesterday and decided to code Infinite Shadow Volumes that use the weight of the vertex to extrude the vertex to infinity, that was cool.

He then decided to code a version that uses GL_NV_depth_clamp, and that was also cool.

He then settled down for a nice cup of tea now that all 3 versions give the exact same result.

No comments: