You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
209 B
14 lines
209 B
4 months ago
|
#version 450
|
||
|
|
||
|
#extension GL_ARB_shader_draw_parameters : enable
|
||
|
|
||
|
out vec3 pos;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int a = gl_BaseVertexARB;
|
||
|
int b = gl_BaseInstanceARB;
|
||
|
int c = gl_DrawIDARB;
|
||
|
pos = vec3(a, b, c);
|
||
|
}
|