Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIResources.h |
Include |
#include "RHIResources.h" |
void SetMissShaderTable
(
const TArrayView< FRHIRayTracingShader * > & InMissShaders,
uint64 Hash
)
Shaders that will be invoked if a ray misses all geometry. If this table is empty, then a built-in default miss shader will be used that sets HitT member of FMinimalPayload to -1. Desired miss shader can be selected by providing MissShaderIndex to TraceRay() function.