aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/shaders/nodes_shader/opengl_fragment.glsl2
1 files changed, 1 insertions, 1 deletions
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++) {