aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/notenoughupdates/shaders/negative.vert
diff options
context:
space:
mode:
authorBuildTools <james.jenour@protonmail.com>2020-12-31 01:26:26 +0800
committerBuildTools <james.jenour@protonmail.com>2020-12-31 01:26:26 +0800
commit9ae63509ab33c4d3f0ee19bc618ef4e4c654ef46 (patch)
treeb5d9120c9211ec989c05f0fb7d02d6497e49f8d0 /src/main/resources/assets/notenoughupdates/shaders/negative.vert
parent38bfc81ad013925463cd382bf99807d15b4fc53e (diff)
downloadNotEnoughUpdates-9ae63509ab33c4d3f0ee19bc618ef4e4c654ef46.tar.gz
NotEnoughUpdates-9ae63509ab33c4d3f0ee19bc618ef4e4c654ef46.tar.bz2
NotEnoughUpdates-9ae63509ab33c4d3f0ee19bc618ef4e4c654ef46.zip
1.8-PRE1
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders/negative.vert')
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/negative.vert15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/negative.vert b/src/main/resources/assets/notenoughupdates/shaders/negative.vert
new file mode 100644
index 00000000..9ccbcd6f
--- /dev/null
+++ b/src/main/resources/assets/notenoughupdates/shaders/negative.vert
@@ -0,0 +1,15 @@
+#version 120
+
+varying vec4 passColour;
+varying vec3 passNormal;
+varying vec4 passPosition;
+uniform vec2 screensize;
+
+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