quakeforge/libs/video/renderer/vulkan/shader/entid.frag
Bill Currie 1745d3bccc [vulkan] Implement mouse-picking for light entities
Currently, only light entities get drawn to the entid buffer, and the
ids are simply displayed in a window for now (not very useful yet).
2023-08-07 17:47:49 +09:00

10 lines
142 B
GLSL

#version 450
layout (location = 0) in flat uint entid;
layout (location = 0) out uint frag_entid;
void
main (void)
{
frag_entid = entid;
}