xash3d-fwgs/ref_vk/shaders/ray.rmiss

15 lines
365 B
Plaintext
Raw Normal View History

#version 460 core
#extension GL_GOOGLE_include_directive : require
#include "ray_common.glsl"
2021-07-12 19:42:20 +02:00
layout(location = 0) rayPayloadInEXT RayPayload payload;
void main() {
2021-07-12 19:42:20 +02:00
payload.hit_pos_t = vec4(-1.);
payload.normal = vec3(0., 1., 0.);
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;
}