diff options
Diffstat (limited to 'intern/cycles/kernel/closure/bssrdf.h')
-rw-r--r-- | intern/cycles/kernel/closure/bssrdf.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/closure/bssrdf.h b/intern/cycles/kernel/closure/bssrdf.h index 8916374cb1c..844e0433bae 100644 --- a/intern/cycles/kernel/closure/bssrdf.h +++ b/intern/cycles/kernel/closure/bssrdf.h @@ -30,8 +30,7 @@ __device int bssrdf_setup(ShaderClosure *sc) return bsdf_diffuse_setup(sc); } else { - /* radius + IOR params */ - sc->data0 = max(sc->data0, 0.0f); + /* IOR param */ sc->data1 = max(sc->data1, 1.0f); sc->type = CLOSURE_BSSRDF_ID; |