Is there a way to use gl_InstanceID in shaders?
Posted: Sun May 12, 2019 1:46 am
I'd like to do instanced drawing like I do on iOS and OSX.
But neither
gl_InstanceID
nor
gl_InstanceIDEXT
are defined when compiling OpenGL ES shaders.
Is there a way to make this work on PI?
But neither
gl_InstanceID
nor
gl_InstanceIDEXT
are defined when compiling OpenGL ES shaders.
Is there a way to make this work on PI?