Permalink
Browse files

Bugfix: variable type mismatch

  • Loading branch information...
RealBadAngel committed Jun 28, 2015
1 parent 0a90fed commit 1455267c9e66f64cd49e01aac782060c95bb925e
Showing with 1 addition and 1 deletion.
  1. +1 −1 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++) {

0 comments on commit 1455267

Please sign in to comment.