0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-12 12:21:54 +00:00
quakeforge/libs/video/renderer/vulkan/shader/debug.frag

11 lines
197 B
GLSL
Raw Normal View History

#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);
}