6 lines
75 B
GLSL
6 lines
75 B
GLSL
|
|
layout (location = 1) out int id;
|
|
void main() {
|
|
id = gl_InstanceID;
|
|
}
|