10 lines
172 B
GLSL
10 lines
172 B
GLSL
#version 460
|
|
#extension GL_NV_ray_tracing : require
|
|
|
|
layout(location = 0) rayPayloadInNV vec3 payload;
|
|
|
|
void main()
|
|
{
|
|
payload = gl_ObjectToWorldNV * vec4(payload, 1.0);
|
|
}
|