diff --git a/data/shaders/sp_alpha_test.frag b/data/shaders/sp_alpha_test.frag index 3f9e46f2a..c5db509ff 100644 --- a/data/shaders/sp_alpha_test.frag +++ b/data/shaders/sp_alpha_test.frag @@ -28,9 +28,7 @@ void main(void) vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z)); col = vec4(new_color.r, new_color.g, new_color.b, col.a); } - - vec3 final_color = col.xyz * color.xyz; - o_diffuse_color = vec4(final_color, 1.0); + o_diffuse_color = vec4(col.xyz, 1.0); #if defined(Advanced_Lighting_Enabled) vec4 layer_2 = sampleTextureLayer2(uv); diff --git a/data/shaders/sp_grass.frag b/data/shaders/sp_grass.frag index 1c166c2f7..4c0666a86 100644 --- a/data/shaders/sp_grass.frag +++ b/data/shaders/sp_grass.frag @@ -26,9 +26,7 @@ void main(void) vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z)); col = vec4(new_color.r, new_color.g, new_color.b, col.a); } - - vec3 final_color = col.xyz; - o_diffuse_color = vec4(final_color, 1.0); + o_diffuse_color = vec4(col.xyz, 1.0); #if defined(Advanced_Lighting_Enabled) vec4 layer_2 = sampleTextureLayer2(uv);