diff options
Diffstat (limited to 'intern/cycles/kernel/shaders')
-rw-r--r-- | intern/cycles/kernel/shaders/node_wave_texture.osl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/shaders/node_wave_texture.osl b/intern/cycles/kernel/shaders/node_wave_texture.osl index 5f97976e582..5cc77aac75a 100644 --- a/intern/cycles/kernel/shaders/node_wave_texture.osl +++ b/intern/cycles/kernel/shaders/node_wave_texture.osl @@ -19,7 +19,7 @@ /* Wave */ -float wave(point p, +float wave(point p_input, string type, string bands_direction, string rings_direction, @@ -30,7 +30,7 @@ float wave(point p, float phase) { /* Prevent precision issues on unit coordinates. */ - p = (p + 0.000001) * 0.999999; + point p = (p_input + 0.000001) * 0.999999; float n = 0.0; |