aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/assets/notenoughupdates/shaders/cape.frag
diff options
context:
space:
mode:
authorMoulberry <james.jenour@student.scotch.wa.edu.au>2020-07-22 03:54:59 +1000
committerMoulberry <james.jenour@student.scotch.wa.edu.au>2020-07-22 03:54:59 +1000
commitd04771c7ef5cdab9554aa6aef506a39c8e2bd3d4 (patch)
tree919df0469bbd4bf6234b4ea07e0b59ee5e011f9a /src/main/resources/assets/notenoughupdates/shaders/cape.frag
parent8499a98beeb556c16987fc375dbd7d05d6c27ab4 (diff)
downloadNotEnoughUpdates-d04771c7ef5cdab9554aa6aef506a39c8e2bd3d4.tar.gz
NotEnoughUpdates-d04771c7ef5cdab9554aa6aef506a39c8e2bd3d4.tar.bz2
NotEnoughUpdates-d04771c7ef5cdab9554aa6aef506a39c8e2bd3d4.zip
less scuffed profile viewer :)
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders/cape.frag')
-rw-r--r--src/main/resources/assets/notenoughupdates/shaders/cape.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/cape.frag b/src/main/resources/assets/notenoughupdates/shaders/cape.frag
index cbe00c70..bfc089bb 100644
--- a/src/main/resources/assets/notenoughupdates/shaders/cape.frag
+++ b/src/main/resources/assets/notenoughupdates/shaders/cape.frag
@@ -8,9 +8,9 @@ void main() {
vec4 texture = texture2D(textureIn, gl_TexCoord[0].st);
gl_FragColor = texture * passColour;
- vec3 fakeSunNormal = normalize(vec3(0.2f,1f,-0.2f));
+ 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);//gl_FragColor.rgb*shading
+ gl_FragColor = vec4(gl_FragColor.rgb*shading, gl_FragColor.a);
} \ No newline at end of file