Yes. It works. Below is a standalone GLUT program that will do depth cube map shadows as I explained above.
<div class="ubbcode-block"><div class="ubbcode-header">Click to reveal.. <input...
Type: Posts; User: deadc0de
Yes. It works. Below is a standalone GLUT program that will do depth cube map shadows as I explained above.
<div class="ubbcode-block"><div class="ubbcode-header">Click to reveal.. <input...
I think you can calculate the face and depth value (R) to test against the depth cube without having to store an array of values for each cube face.
I will assume that the matrices you used to...