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.
9.5 KiB
9.5 KiB