Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: deadc0de

Search: Search took 0.00 seconds.

  1. Replies
    16
    Views
    12,526

    Re: GLSL - cube shadows - projecting

    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...
  2. Replies
    16
    Views
    12,526

    Re: GLSL - cube shadows - projecting

    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...
Results 1 to 2 of 2