ENH: Dynamically enable and color tilings

Use multidraw and command buffer
This commit is contained in:
David Allemang
2023-02-10 13:20:34 -05:00
parent 92a55f8c74
commit 53fe3104db
7 changed files with 185 additions and 90 deletions

View File

@@ -18,10 +18,10 @@ layout(std140, binding=2) uniform ModelMatrices {
};
in ivec4 vInds[];
in vec4 vCol[];
in vec3 vCol[];
layout(location=0) out vec4 pos;
layout(location=1) out vec4 col;
layout(location=1) out vec3 col;
layout(location=2) out vec3 normal;
out gl_PerVertex {