xash3d-fwgs/ref_vk/shaders/ray.rmiss
Ivan 'provod' Avdeev c90187f57f rtx: use a common definition for Kusok; pass color
Also pass alpha (not used yet)
2021-09-04 13:50:05 -07:00

15 lines
365 B
GLSL

#version 460 core
#extension GL_GOOGLE_include_directive : require
#include "ray_common.glsl"
layout(location = 0) rayPayloadInEXT RayPayload payload;
void main() {
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.);
payload.kusok_index = -1;
}