quakeforge/libs/video/renderer/vulkan/shader/lighting_cascade.frag
Bill Currie a3e99435df [vulkan] Clean up lighting shaders a little
Having more than one copy of ShadowMatrices went against my plans, and I
had trouble finding the attachments set (light_attach.h wasn't such a
good idea).
2023-08-13 18:06:28 +09:00

13 lines
279 B
GLSL

#version 450
#extension GL_GOOGLE_include_directive : enable
#include "lighting.h"
layout (set = 3, binding = 0) uniform sampler2DArrayShadow shadow_map[32];
float
shadow (uint map_id, uint layer, uint mat_id, vec3 pos, vec3 lpos)
{
return 1;
}
#include "lighting_main.finc"