From 1455267c9e66f64cd49e01aac782060c95bb925e Mon Sep 17 00:00:00 2001 From: RealBadAngel Date: Sun, 28 Jun 2015 21:11:54 +0200 Subject: Bugfix: variable type mismatch --- client/shaders/nodes_shader/opengl_fragment.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/shaders') diff --git a/client/shaders/nodes_shader/opengl_fragment.glsl b/client/shaders/nodes_shader/opengl_fragment.glsl index 0e84eacf9..e531d72b7 100644 --- a/client/shaders/nodes_shader/opengl_fragment.glsl +++ b/client/shaders/nodes_shader/opengl_fragment.glsl @@ -66,7 +66,7 @@ float find_intersection(vec2 dp, vec2 ds) } float find_intersectionRGB(vec2 dp, vec2 ds) { - const float iterations = 24; + const float iterations = 24.0; const float depth_step = 1.0 / iterations; float depth = 1.0; for (int i = 0 ; i < iterations ; i++) { -- cgit v1.2.3