12 lines
179 B
Text
12 lines
179 B
Text
|
|
// 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);
|
||
|
|
}
|