Permalink
Browse files

Changed film_grain.frag from using GLSL 1.2 with GL_EXT_gpu_shader4 t…

…o GLSL 1.3. The functionality required (bitwise operators) is present in this version whereas in the present it required the extension.

Some AMD cards did nor support the extension, which led to the game freezing on the Mojang splash screen with no error thrown or clear indication as to what caused it. This issue affected versions 154 and 155.
Closes #510.
  • Loading branch information...
1 parent 8bc835a commit f8b0f2155d97944fcec7ab315864bb5f86ed9f54 @Vazkii committed Feb 5, 2015
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/main/resources/assets/botania/shader/film_grain.frag
@@ -1,5 +1,4 @@
-#version 120
-#extension GL_EXT_gpu_shader4 : enable
+#version 130
uniform sampler2D bgl_RenderedTexture;
uniform int time; // Passed in, see ShaderHelper.java

1 comment on commit f8b0f21

@Sikovall

simply deleting the "#" in line 2 before "extension" will fix the error if you play on a server and cant change or update the mod version of botania 154 or 155

Please sign in to comment.