12 years, 10 months ago
Highlights
12 years, 10 months ago
I just figured out what was wrong. I wasn't calling glViewport before rendering to my offscreen framebuffer, so it was using the wrong size for rendering. Now the shadows are wo…
12 years, 10 months ago
So I've been trying to add shadows to my scene, and to achieve this I am trying to do the following: Create a framebuffer object Attach a texture to its depth attachment…
12 years, 10 months ago
Your depth fragment shader does nothing? I mean, I suppose this could work but just to be safe I'd write out some color Also assure your glDepthMask is GL_TRUE ? &n…
12 years, 10 months ago
Latest Activity
I just figured out what was wrong. I wasn't calling glViewport before rendering to my offscreen framebuffer, so it was …
12 years, 10 months ago
Your depth fragment shader does nothing? I mean, I suppose this could work but just to be safe I'd write …
12 years, 10 months ago
So I've been trying to add shadows to my scene, and to achieve this I am trying to do the …
12 years, 10 months ago