11 lines
179 B
Plaintext
11 lines
179 B
Plaintext
|
#version 460
|
||
|
#extension GL_EXT_ray_tracing : require
|
||
|
|
||
|
layout(location = 0) rayPayloadInEXT vec3 payload;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
payload = gl_ObjectToWorldEXT * vec4(payload, 1.0);
|
||
|
}
|
||
|
|