Moved shaders to new directory
This commit is contained in:
parent
0b3f8340e3
commit
99b226237a
1244 changed files with 0 additions and 0 deletions
12
shaders/hlsl/raytracingcallable/miss.rmiss
Normal file
12
shaders/hlsl/raytracingcallable/miss.rmiss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2021 Sascha Willems
|
||||
|
||||
struct Payload
|
||||
{
|
||||
[[vk::location(0)]] float3 hitValue;
|
||||
};
|
||||
|
||||
[shader("miss")]
|
||||
void main(inout Payload p)
|
||||
{
|
||||
p.hitValue = float3(0.0, 0.0, 0.2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue