Is `to_opengl` a must for sampling env map?
yifanlu0227 opened this issue · 2 comments
yifanlu0227 commented
Line 9 in 3ea4b17
Hi! The ray direction is already in the world coordinate, and I am confused about why we need to do this conversion. Could you explain it?
Looking forward to your help and reply
SuLvXiangXin commented
Hi, I've noticed that nvdiffrast uses the y-axis upward, while we use the z-axis, just to align with nvdiffrast. I think it's also okay without this conversion.
yifanlu0227 commented
Thanks!