Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix for #6732 - Exposes the instancing base index #6737
Per #6732 ... This change exposes the option to set the instance base index for instancing. This works perfectly on DirectX, and somewhat works on OpenGL. On OpenGL, this is still impacted by the instancing bug #6293.
Note: For OpenGL, if not setting the base instance index (which is the default behavior), it will continue using the original OpenGL API. If setting the base, this will use the OpenGL API glDrawElementsInstancedBaseInstance which is only available in OpenGL 4.2 and higher.
FYI, protobuild isn't generating the web project, so I missed that in my initial checks. I did update that after the build failed... however it would be good to have the VS project for web also generated by protobuild so it isn't missed in any fixes / updates.