diff options
author | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-10-03 06:09:28 +1000 |
---|---|---|
committer | Moulberry <james.jenour@student.scotch.wa.edu.au> | 2020-10-03 06:09:28 +1000 |
commit | 275fe45caa8eb1048914d864aafae21f3f3a1157 (patch) | |
tree | 87fe9a8e5f996c7cbc6fc81f2f522561ceb96992 /src/main/resources/assets/notenoughupdates/shaders | |
parent | bb067068aabda36f8ba74b34a68856e19139beb9 (diff) | |
download | NotEnoughUpdates-275fe45caa8eb1048914d864aafae21f3f3a1157.tar.gz NotEnoughUpdates-275fe45caa8eb1048914d864aafae21f3f3a1157.tar.bz2 NotEnoughUpdates-275fe45caa8eb1048914d864aafae21f3f3a1157.zip |
1.3.3-ALPA
Diffstat (limited to 'src/main/resources/assets/notenoughupdates/shaders')
-rw-r--r-- | src/main/resources/assets/notenoughupdates/shaders/space_cape.frag | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/assets/notenoughupdates/shaders/space_cape.frag b/src/main/resources/assets/notenoughupdates/shaders/space_cape.frag index b3cb8a1d..e3e5d56e 100644 --- a/src/main/resources/assets/notenoughupdates/shaders/space_cape.frag +++ b/src/main/resources/assets/notenoughupdates/shaders/space_cape.frag @@ -23,7 +23,7 @@ void main() { } } } else if(eventRand < 0.45f) { - vec2 extraPos = vec2(-30.0f+eventMillis/2000f*370.0f, 50.0f+(eventRand-0.4f)/0.05f*300.0f)/1024.0f; + vec2 extraPos = vec2(-30.0f+eventMillis/2000.0f*370.0f, 50.0f+(eventRand-0.4f)/0.05f*300.0f)/1024.0f; vec2 extraTexCoord = vec2(gl_TexCoord[0].s-extraPos.x+248.0f/1024.0f, gl_TexCoord[0].t-extraPos.y+894.0f/1024.0f); if(extraTexCoord.x > 200.0f/1024.0f && extraTexCoord.x < 300.0f/1024.0f) { if(extraTexCoord.y > 843.0f/1024.0f && extraTexCoord.y < 943.0f/1024.0f) { @@ -31,7 +31,7 @@ void main() { } } } else if(eventRand < 0.47f) { - vec2 extraPos = vec2(-30.0f+eventMillis/2000f*370.0f, 50.0f+(eventRand-0.45f)/0.02f*300.0f)/1024.0f; + vec2 extraPos = vec2(-30.0f+eventMillis/2000.0f*370.0f, 50.0f+(eventRand-0.45f)/0.02f*300.0f)/1024.0f; vec2 extraTexCoord = vec2(gl_TexCoord[0].s-extraPos.x+348.0f/1024.0f, gl_TexCoord[0].t-extraPos.y+894.0f/1024.0f); if(extraTexCoord.x > 300.0f/1024.0f && extraTexCoord.x < 400.0f/1024.0f) { if(extraTexCoord.y > 843.0f/1024.0f && extraTexCoord.y < 943.0f/1024.0f) { @@ -39,7 +39,7 @@ void main() { } } } else if(eventRand < 0.48f) { - vec2 extraPos = vec2(-30.0f+eventMillis/2000f*370.0f, 50.0f+(eventRand-0.47f)/0.01f*300.0f)/1024.0f; + vec2 extraPos = vec2(-30.0f+eventMillis/2000.0f*370.0f, 50.0f+(eventRand-0.47f)/0.01f*300.0f)/1024.0f; vec2 extraTexCoord = vec2(gl_TexCoord[0].s-extraPos.x+448.0f/1024.0f, gl_TexCoord[0].t-extraPos.y+894.0f/1024.0f); if(extraTexCoord.x > 400.0f/1024.0f && extraTexCoord.x < 500.0f/1024.0f) { if(extraTexCoord.y > 843.0f/1024.0f && extraTexCoord.y < 943.0f/1024.0f) { |