Fixed remaining syntax errors in OSL files. node_sepcomb_rgb.osl is split into 2...
[blender.git] / intern / cycles / kernel / osl / nodes / node_noise_texture.osl
index 7738902f52938123f1082203a33315bf9d578baf..bc59f115ccedd87f61ec58ca59d6f2baee1c5127 100644 (file)
@@ -35,7 +35,7 @@ float noise(point p, string basis, float distortion, float detail)
                p += r;
        }
 
-       fac = noise_turbulence(p, basis, detail, hard);
+       fac = noise_turbulence(p, basis, (int)detail, hard);
        
        return fac;