aboutsummaryrefslogtreecommitdiff
path: root/Gem/examples/10.glsl/link.vert
diff options
context:
space:
mode:
Diffstat (limited to 'Gem/examples/10.glsl/link.vert')
-rw-r--r--Gem/examples/10.glsl/link.vert10
1 files changed, 10 insertions, 0 deletions
diff --git a/Gem/examples/10.glsl/link.vert b/Gem/examples/10.glsl/link.vert
new file mode 100644
index 0000000..fefc366
--- /dev/null
+++ b/Gem/examples/10.glsl/link.vert
@@ -0,0 +1,10 @@
+varying vec2 coord;
+
+
+void main()
+{
+
+ coord = (gl_TextureMatrix[0] * gl_MultiTexCoord0).st;
+ gl_Position = ftransform();
+
+}