BVHLightSampler: use bit trails to record light -> BVH node path to its leaf
This saves 4 bytes from LightBVHNode (which doesn't matter, since it goes from 32 to 28 bytes) and potentially gives more convergent node access in the PDF() method.
Showing
想要评论请 注册 或 登录