1
0
Fork 0
fgdata/Shaders/ssao.vert

9 lines
207 B
GLSL
Raw Normal View History

#version 120
2012-05-09 21:51:26 +00:00
uniform mat4 fg_ProjectionMatrixInverse;
varying vec4 ray;
void main() {
gl_Position = gl_Vertex;
gl_TexCoord[0] = gl_MultiTexCoord0;
ray = fg_ProjectionMatrixInverse * gl_Vertex;
}