quakeforge/libs/video/renderer/vulkan/shader/debug.frag
Bill Currie 7642ef5758 [vulkan] Add debug displays for lights and bsp
The lights debug is from the light splat experiment (this is why I kept
the code), and the bsp debug is based on that. Both currently disabled
for now until I get UI controls in.
2023-07-13 14:22:31 +09:00

10 lines
197 B
GLSL

#version 450
#extension GL_GOOGLE_include_directive : enable
layout (location = 0) out vec4 frag_color;
void
main (void)
{
frag_color = gl_FrontFacing ? vec4 (0, 1, 0, 1) : vec4 (1, 0, 0, 1);
}