Implementing a custom hit shader for OptiX #5484
-
Hello Everyone, I am currently trying to implement my shaders in Slang using OptiX as my rendering engine. Currently, I am trying to implement a sphere intersection, and it works fine when I write it in CUDA, since I can use the "OptixReportIntersection" function there. Thank you for your help in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Please call |
Beta Was this translation helpful? Give feedback.
Please call
ReportHitOptix
in Slang: https://shader-slang.com/stdlib-reference/global-decls/reporthitoptix-069