glsl Archive

How to Use a GLSL Program

Let’s suppose you just found this cool GLSL program somewhere on the Net: Vertex shader: #version 120 void main() { gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; } Pixel shader:
Read More