2021-07-06 20:28:24 +02:00
|
|
|
#version 460 core
|
2021-07-10 20:06:55 +02:00
|
|
|
#extension GL_GOOGLE_include_directive : require
|
|
|
|
#include "ray_common.glsl"
|
2021-07-06 20:28:24 +02:00
|
|
|
|
2021-07-12 19:42:20 +02:00
|
|
|
layout(location = 0) rayPayloadInEXT RayPayload payload;
|
2021-07-06 20:28:24 +02:00
|
|
|
|
|
|
|
void main() {
|
2021-07-12 19:42:20 +02:00
|
|
|
payload.hit_pos_t = vec4(-1.);
|
|
|
|
payload.normal = vec3(0., 1., 0.);
|
2021-09-04 21:36:30 +02:00
|
|
|
payload.alpha = 0.;
|
|
|
|
payload.roughness = 0.;
|
|
|
|
payload.base_color = vec3(1., 0., 1.);
|
2021-07-12 19:42:20 +02:00
|
|
|
payload.kusok_index = -1;
|
2021-09-04 21:36:30 +02:00
|
|
|
}
|