10 lines
159 B
Plaintext
10 lines
159 B
Plaintext
|
#version 460
|
||
|
#extension GL_EXT_ray_tracing : require
|
||
|
|
||
|
layout(location = 0) rayPayloadInEXT vec3 payload;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
payload = gl_ObjectRayDirectionEXT;
|
||
|
}
|