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-11-08 17:44:27 +1100
committerMoulberry <james.jenour@student.scotch.wa.edu.au>2020-11-08 17:44:27 +1100
commit07403ec86c53f67b94d988b4c01a0afc2fdb2810 (patch)
treefba4b3c37b02c42267e03a07453d3941c98fd66d /src/main/resources/assets/notenoughupdates/shaders/cape.frag
parentfc4143dd3c892b11ae5f427fcecc22044ff98460 (diff)
parentec0660e41145d3d9ed479b3e697afddf8ddc8c4c (diff)
downloadNotEnoughUpdates-07403ec86c53f67b94d988b4c01a0afc2fdb2810.tar.gz
NotEnoughUpdates-07403ec86c53f67b94d988b4c01a0afc2fdb2810.tar.bz2
NotEnoughUpdates-07403ec86c53f67b94d988b4c01a0afc2fdb2810.zip
Merge branch 'beta'1.7-REL1.6-REL
uh yeah its pretty necessary guys
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