From 1fba10104e76e937eeac60bc207a74012ab936dc Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Fri, 15 Feb 2013 23:46:37 +0000 Subject: renderer -> renderergl1, rend2 -> renderergl2 --- src/renderergl2/glsl/ssao_vp.glsl | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/renderergl2/glsl/ssao_vp.glsl (limited to 'src/renderergl2/glsl/ssao_vp.glsl') diff --git a/src/renderergl2/glsl/ssao_vp.glsl b/src/renderergl2/glsl/ssao_vp.glsl new file mode 100644 index 00000000..9c46a79f --- /dev/null +++ b/src/renderergl2/glsl/ssao_vp.glsl @@ -0,0 +1,12 @@ +attribute vec4 attr_Position; +attribute vec4 attr_TexCoord0; + +varying vec2 var_ScreenTex; + +void main() +{ + gl_Position = attr_Position; + var_ScreenTex = attr_TexCoord0.xy; + //vec2 screenCoords = gl_Position.xy / gl_Position.w; + //var_ScreenTex = screenCoords * 0.5 + 0.5; +} -- cgit