lovrInstanceID;

This commit is contained in:
bjorn 2018-09-01 02:09:59 -07:00
parent 8b9e9eba9e
commit c584354c92
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ const char* lovrShaderVertexPrefix = ""
"#define lovrProjection lovrProjections[lovrViewportIndex] \n"
"#define lovrTransform lovrTransforms[lovrViewportIndex] \n"
"#define lovrNormalMatrix lovrNormalMatrices[lovrViewportIndex] \n"
"#define lovrInstanceID gl_InstanceID / lovrViewportCount \n"
"in vec3 lovrPosition; \n"
"in vec3 lovrNormal; \n"
"in vec2 lovrTexCoord; \n"