Some ray tracing changes

This commit is contained in:
Dynamitos
2024-07-08 13:46:49 +02:00
parent fd8dc5ed0f
commit acf8dde8fc
21 changed files with 108051 additions and 71 deletions
@@ -0,0 +1,13 @@
struct Payload
{
float3 color;
};
struct RayTracingParams
{
RaytracingAccelerationStructure scene;
RWTexture2D<float3> image;
StructuredBuffer<uint> indexBuffer;
};
ParameterBlock<RayTracingParams> pRayTracingParams;