diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/kernel/shaders/node_math.osl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/shaders/node_math.osl b/intern/cycles/kernel/shaders/node_math.osl index c29891ed574..066e5f8dbe1 100644 --- a/intern/cycles/kernel/shaders/node_math.osl +++ b/intern/cycles/kernel/shaders/node_math.osl @@ -95,6 +95,6 @@ shader node_math( Value = safe_modulo(Value1, Value2); if (Clamp) - Value = clamp(Value1, 0.0, 1.0); + Value = clamp(Value, 0.0, 1.0); } |