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