PathTracer icon indicating copy to clipboard operation
PathTracer copied to clipboard

Hitpoint & Debug

Open generalgaowei opened this issue 2 years ago • 1 comments

读了您的代码,很有启发。感谢您的分享。本人电气专业,好多不理解的地方。想问作者三个问题:1)求交点的代码在shader程序Closesthit.glsl中吗?相交三角形序号是这条语句吗?state.triID = vert_indices; 2)如何单步调试shader,renderdoc可以吗?3)AMD显卡也可以运行这个代码吗?我觉得是可以的。谢谢!

generalgaowei avatar Jan 09 '23 06:01 generalgaowei

1、是的 2、无法单步调试shader,可以用pix试一下。 3、理论上可以,但是兼容性问题可能不行。

BobLChen avatar Jan 29 '23 07:01 BobLChen