Graphics Programming

78 bookmarks
Custom sorting
Toon Shader – Version II » Lighthouse3d.com
Toon Shader – Version II » Lighthouse3d.com
GLSL has access to part of the OpenGL state. In this tutorial we’ll see how to access the color as set in an OpenGL application with glColor. GLSL has an attribute variable where it keeps tra…
·lighthouse3d.com·
Toon Shader – Version II » Lighthouse3d.com
Real depth in OpenGL / GLSL - Before I Forget...
Real depth in OpenGL / GLSL - Before I Forget...
So, many places will give you clues how to get linear depth from the OpenGL depth buffer, or visualise it, or other things. This, however, is what I believe to be the definitive answer: This link http://www.songho.ca/opengl/gl_projectionmatrix.html gives a good run-down of the projection matrix, and
·web.archive.org·
Real depth in OpenGL / GLSL - Before I Forget...
opengl - Getting the true z value from the depth buffer - Stack Overflow
opengl - Getting the true z value from the depth buffer - Stack Overflow
Sampling from a depth buffer in a shader returns values between 0 and 1, as expected. Given the near- and far- clip planes of the camera, how do I calculate the true z value at this point, i.e. the
·stackoverflow.com·
opengl - Getting the true z value from the depth buffer - Stack Overflow
Tutorial 16 : Shadow mapping
Tutorial 16 : Shadow mapping
Free tutorials for modern Opengl (3.3 and later) in C/C++
·opengl-tutorial.org·
Tutorial 16 : Shadow mapping
CodeXL – GPUOpen
CodeXL – GPUOpen
Professional Compute content is moving elsewhere.
·gpuopen.com·
CodeXL – GPUOpen