mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-23 09:20:40 +00:00
1745d3bccc
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).
10 lines
142 B
GLSL
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;
|
|
}
|