pbrt-v4
pbrt-v4 copied to clipboard
Double precision is not working... for normals?
Hi... I tried the fix applied here: https://github.com/mmp/pbrt-v4/issues/359 and everything seems fine now for the vertices, but I suspect the 'normals' require some tweaking as well. Result on GPU with 'float as double' ON and with fix applied:
Result in CPU:
Cheers..!
Very strange; it's not immediately obvious why normals would have a problem. (As far as I know, they don't go through any dodgy pointer casts like vertex positions used to...)