-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hello,
I appreciate your grate job!
I'm developing a path tracer based on your framework. However, I am unable to read the normal at the ray-hit point because the general technique for reading the interpolated normal requires access to gl_PrimitiveID. Unfortunately, it throws an error message if I include the keyword gl_PrimitiveID in the closest hit shader code.
The erroe message: '_crt_user_rchit_0' : no matching overloaded function found
The erroe message: missing #endif
Is gl_PrimitiveID not supported yet, or is this a bug? Do you have any suggestions for reading normals and texture coordinates at the hit point?
Thank you in advance.
Metadata
Metadata
Assignees
Labels
No labels