aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/notenoughupdates/shaders/cape.frag
diff options
context:
space:
mode:
authorBuildTools <james.jenour@protonmail.com>2021-02-16 03:08:30 +0800
committerBuildTools <james.jenour@protonmail.com>2021-02-16 03:08:30 +0800
commita0e7d174472d034142003e58a42d6beefe36a92b (patch)
tree37fbdf5c5c3af3e85ed05e6e17d64207b2a6d8c9 /src/main/resources/assets/notenoughupdates/shaders/cape.frag
parent6024bdf69193ad216e95fca53d7d28746f4269e0 (diff)
downloadNotEnoughUpdates-a0e7d174472d034142003e58a42d6beefe36a92b.tar.gz
NotEnoughUpdates-a0e7d174472d034142003e58a42d6beefe36a92b.tar.bz2
NotEnoughUpdates-a0e7d174472d034142003e58a42d6beefe36a92b.zip
PRE21
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders/cape.frag')
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/cape.frag16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/cape.frag b/src/main/resources/assets/notenoughupdates/shaders/cape.frag
deleted file mode 100644
index bfc089bb..00000000
--- a/src/main/resources/assets/notenoughupdates/shaders/cape.frag
+++ /dev/null
@@ -1,16 +0,0 @@
-#version 120
-
-varying vec4 passColour;
-varying vec3 passNormal;
-uniform sampler2D textureIn;
-
-void main() {
- vec4 texture = texture2D(textureIn, gl_TexCoord[0].st);
- gl_FragColor = texture * passColour;
-
- vec3 fakeSunNormal = normalize(vec3(0.2f,1.0f,-0.2f));
- vec3 normNormal = normalize(passNormal);
- float shading = max(0.6f, dot(fakeSunNormal, normNormal));
-
- gl_FragColor = vec4(gl_FragColor.rgb*shading, gl_FragColor.a);
-} \ No newline at end of file