aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/notenoughupdates/shaders/void.vert
diff options
context:
space:
mode:
authorBuildTools <james.jenour@protonmail.com>2021-01-07 12:57:35 +0800
committerBuildTools <james.jenour@protonmail.com>2021-01-07 12:57:35 +0800
commitcfa0aa0c9a24aa739d3254b24ef4bf0bea7087a6 (patch)
tree37195b6df62d8281e236e0fb87e5d9edbd60f625 /src/main/resources/assets/notenoughupdates/shaders/void.vert
parent9ae63509ab33c4d3f0ee19bc618ef4e4c654ef46 (diff)
downloadNotEnoughUpdates-cfa0aa0c9a24aa739d3254b24ef4bf0bea7087a6.tar.gz
NotEnoughUpdates-cfa0aa0c9a24aa739d3254b24ef4bf0bea7087a6.tar.bz2
NotEnoughUpdates-cfa0aa0c9a24aa739d3254b24ef4bf0bea7087a6.zip
PRE4
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders/void.vert')
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/void.vert16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/void.vert b/src/main/resources/assets/notenoughupdates/shaders/void.vert
new file mode 100644
index 00000000..0cc39c90
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/void.vert
@@ -0,0 +1,16 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+varying vec4 passPosition;
+uniform vec2 screensize;
+uniform int millis;
+
+void main() {
+ gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
+ gl_TexCoord[0] = gl_MultiTexCoord0;
+
+ passColour = gl_Color;
+ passNormal = normalize(gl_Normal);
+ passPosition = gl_Position;
+} \ No newline at end of file