diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-12-12 18:43:07 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-12-12 18:43:07 +0400 |
commit | 5616c7a0585521ca16f352ce2277cf4ac73eced2 (patch) | |
tree | c3d748185fa49441c39e01ed92365ab6c2ca949a /intern/cycles/kernel/closure/bsdf_oren_nayar.h | |
parent | 96cad133f75b22a3ac8045fefe18239bef5a4bf9 (diff) |
Cycles: disable scaling up of ray differentials after diffuse/glossy bounce, this
isn't working well for OSL texture filtering and wasn't very helpful to begin
with, a better solution should be possible.
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_oren_nayar.h')
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_oren_nayar.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_oren_nayar.h b/intern/cycles/kernel/closure/bsdf_oren_nayar.h index 066937da6eb..770f06dddc5 100644 --- a/intern/cycles/kernel/closure/bsdf_oren_nayar.h +++ b/intern/cycles/kernel/closure/bsdf_oren_nayar.h @@ -81,8 +81,6 @@ __device int bsdf_oren_nayar_sample(const ShaderClosure *sc, float3 Ng, float3 I // TODO: find a better approximation for the bounce *domega_in_dx = (2.0f * dot(sc->N, dIdx)) * sc->N - dIdx; *domega_in_dy = (2.0f * dot(sc->N, dIdy)) * sc->N - dIdy; - *domega_in_dx *= 125.0f; - *domega_in_dy *= 125.0f; #endif } else { |