mirror of https://github.com/bjornbytes/lovr.git
lovrInstanceID;
This commit is contained in:
parent
8b9e9eba9e
commit
c584354c92
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue