We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6a1bf0 commit dde8518Copy full SHA for dde8518
assets/shaders/custom_material.vert
@@ -33,6 +33,6 @@ layout(set = 2, binding = 0) readonly buffer _Meshes {
33
void main() {
34
v_Uv = Vertex_Uv;
35
gl_Position = ViewProj
36
- * Meshes[gl_BaseInstance + gl_InstanceIndex].Model
+ * Meshes[gl_InstanceIndex].Model
37
* vec4(Vertex_Position, 1.0);
38
}
0 commit comments