mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-29 15:12:25 +00:00
Fix closest hit and miss shaders not working
This commit is contained in:
parent
ef4b67ea04
commit
178c918af6
1 changed files with 2 additions and 2 deletions
|
@ -689,7 +689,7 @@ void GPURaytracer::CreateShaders()
|
||||||
vec3 hitValue;
|
vec3 hitValue;
|
||||||
};
|
};
|
||||||
|
|
||||||
layout(location = 0) rayPayloadEXT hitPayload payload;
|
layout(location = 0) rayPayloadInEXT hitPayload payload;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
@ -713,7 +713,7 @@ void GPURaytracer::CreateShaders()
|
||||||
vec3 hitValue;
|
vec3 hitValue;
|
||||||
};
|
};
|
||||||
|
|
||||||
layout(location = 0) rayPayloadEXT hitPayload payload;
|
layout(location = 0) rayPayloadInEXT hitPayload payload;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue