Skip to content

Commit

Permalink
Bugfix: variable type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBadAngel committed Jun 28, 2015
1 parent 0a90fed commit 1455267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/shaders/nodes_shader/opengl_fragment.glsl
Expand Up @@ -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++) {
Expand Down

0 comments on commit 1455267

Please sign in to comment.