SpiderPig Posted April 20, 2019 Posted April 20, 2019 After seeing this code in the shaders; uniform instancematrices { mat4 matrix[MAX_INSTANCES];} entity; It makes me wonder if there is a way to get a instance index of an entity in C++? So after calling entity->Instance() there must be number incremented somewhere right? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.