aboutsummaryrefslogtreecommitdiff
path: root/packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert
diff options
context:
space:
mode:
Diffstat (limited to 'packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert')
-rw-r--r--packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert42
1 files changed, 21 insertions, 21 deletions
diff --git a/packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert b/packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert
index 01fbf0ab..75099db4 100644
--- a/packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert
+++ b/packages/noncvs/windows/extra/Gem/examples/10.glsl/fetching2.vert
@@ -1,21 +1,21 @@
-// Cyrille Henry 2008
-#extension GL_ARB_texture_rectangle : enable
-
-uniform sampler2DRect MyTex;
-uniform float K;
-
-void main()
-{
- vec4 v = vec4(gl_Vertex);
- vec4 color = texture2DRect(MyTex, gl_MultiTexCoord0.st * vec2(91./128.,63./128.));
-
- gl_TexCoord[0] = gl_MultiTexCoord0;
-
- v.x = color.r -0.5;
- v.y = color.g -0.5;
- v.z = color.b -0.5;
-
- gl_Position = gl_ModelViewProjectionMatrix * v;
-
-}
-
+// Cyrille Henry 2008
+#extension GL_ARB_texture_rectangle : enable
+
+uniform sampler2DRect MyTex;
+uniform float K;
+
+void main()
+{
+ vec4 v = vec4(gl_Vertex);
+ vec4 color = texture2DRect(MyTex, gl_MultiTexCoord0.st * vec2(91./128.,63./128.));
+
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+
+ v.x = color.r -0.5;
+ v.y = color.g -0.5;
+ v.z = color.b -0.5;
+
+ gl_Position = gl_ModelViewProjectionMatrix * v;
+
+}
+