Debian Codegraph @

code/renderergl2/glsl/ssao_vp.glsl

raw
1 attribute vec4 attr_Position;
2 attribute vec4 attr_TexCoord0;
3
4 varying vec2 var_ScreenTex;
5
6 void main()
7 {
8 gl_Position = attr_Position;
9 var_ScreenTex = attr_TexCoord0.xy;
10 //vec2 screenCoords = gl_Position.xy / gl_Position.w;
11 //var_ScreenTex = screenCoords * 0.5 + 0.5;
12 }