Projective texturing vs. Shadow map

Projective Textures and Shadow map

Projective texture mapping

Projective texturing, transform from world to light camera proj. space and then transform to texture space. Use ( s/q, t/q ) to fetch texture and blend with background material.

Shadow mapping, transform from world to light camera proj. and render the depth value on the depth map. The second pass, render object from from world to camera clip space and transform to the light texture space to compare depth value, if depth greater, needn't fetch the texture otherwise fetch the texture blend with background. So shadow mapping can process blocking issue but needs more one rendering pass.


Popular posts from this blog


After reading Steve Jobs Autobiography

Drawing textured cube with Vulkan on Android