diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-09 12:26:23 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-10-09 13:58:03 +0300 |
commit | b54447c0eb12d78cd1282db4cb3fb49a9be13b78 (patch) | |
tree | 0bbe045bee923182588e626983b9aa1dcc2c7217 /extern/Eigen3 | |
parent | 29247a7a0504d8755903e95744fbf13774e450cb (diff) |
Cycles: Make sure ray direction is always normalized
Ray direction is assumed to be normalized in such areas as scaling intersection
distance on instance push/pop when doing ray-scene intersection, but it was
possible that some closures wouldn't give normalized direction which could cause
wrong intersection checks.
Now normalization will happen on surface bounce, which could be a bit of a waste
if closure actually gives normalized direction, but currently only transparent
BSDF seems to give guaranteed normalized direction.
Diffstat (limited to 'extern/Eigen3')
0 files changed, 0 insertions, 0 deletions