Moved shaders to new directory
This commit is contained in:
parent
0b3f8340e3
commit
99b226237a
1244 changed files with 0 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue