Moved shaders to new directory

This commit is contained in:
Sascha Willems 2023-05-09 21:03:02 +02:00
parent 0b3f8340e3
commit 99b226237a
1244 changed files with 0 additions and 0 deletions

View file

@ -1,15 +0,0 @@
// Copyright 2021 Sascha Willems
struct CallData
{
float3 outColor;
};
[shader("callable")]
void main(inout CallData data)
{
// Generate a checker board pattern
float2 pos = float2(DispatchRaysIndex().x / 8, DispatchRaysIndex().y / 8);
float col = pos.y % 2.0;
data.outColor = float3(col, col, col);
}