diff options
author | RealBadAngel <maciej.kasatkin@o2.pl> | 2015-06-28 21:11:54 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@o2.pl> | 2015-06-28 21:11:54 +0200 |
commit | 1455267c9e66f64cd49e01aac782060c95bb925e (patch) | |
tree | d2659f6f19aff7e31de26070ef886630ffc73f77 /client | |
parent | 0a90fedabc07a3ba811f13ed8d673136e857ec02 (diff) | |
download | minetest-1455267c9e66f64cd49e01aac782060c95bb925e.tar.gz minetest-1455267c9e66f64cd49e01aac782060c95bb925e.tar.bz2 minetest-1455267c9e66f64cd49e01aac782060c95bb925e.zip |
Bugfix: variable type mismatch
Diffstat (limited to 'client')
-rw-r--r-- | client/shaders/nodes_shader/opengl_fragment.glsl | 2 |
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++) { |