Skip to content

Commit 1455267

Browse files
committedJun 28, 2015
Bugfix: variable type mismatch
1 parent 0a90fed commit 1455267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎client/shaders/nodes_shader/opengl_fragment.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ float find_intersection(vec2 dp, vec2 ds)
6666
}
6767

6868
float find_intersectionRGB(vec2 dp, vec2 ds) {
69-
const float iterations = 24;
69+
const float iterations = 24.0;
7070
const float depth_step = 1.0 / iterations;
7171
float depth = 1.0;
7272
for (int i = 0 ; i < iterations ; i++) {

0 commit comments

Comments
 (0)
Please sign in to comment.