mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-02 22:01:32 +00:00
a3e99435df
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).
13 lines
279 B
GLSL
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"
|