diff options
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_toon.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_toon.h b/intern/cycles/kernel/closure/bsdf_toon.h index 9aa25a6c0c6..40001bf7531 100644 --- a/intern/cycles/kernel/closure/bsdf_toon.h +++ b/intern/cycles/kernel/closure/bsdf_toon.h @@ -59,7 +59,7 @@ __device float3 bsdf_toon_get_intensity(float max_angle, float smooth, float ang else if(angle < (max_angle + smooth) && smooth != 0.0f) is = (1.0f - (angle - max_angle)/smooth); else - is = 0.0f + is = 0.0f; return make_float3(is, is, is); } |