xash3d-fwgs/ref/vk/shaders/ray_light_direct_poly.comp

12 lines
277 B
Plaintext

#version 460 core
#extension GL_GOOGLE_include_directive : require
#extension GL_EXT_ray_query: require
#define RAY_QUERY
#define LIGHT_POLYGON 1
#define OUTPUTS(X) \
X(20, light_poly_diffuse, rgba16f) \
X(21, light_poly_specular, rgba16f)
#include "ray_light_direct.glsl"