mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-23 17:30:42 +00:00
2fbe44a72e
Other than the rather bad shadow acne, this is actually quake itself working nicely. Still need to get directional lights working for community maps, and all sorts of other little things (hide view model, show player, fix brush backfaces, etc).
12 lines
257 B
GLSL
12 lines
257 B
GLSL
#version 450
|
|
#extension GL_GOOGLE_include_directive : enable
|
|
|
|
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"
|