triangles upper and lower layer, low vertex reuse

This commit is contained in:
zomseffen 2024-05-22 19:47:49 +02:00
parent 32577d548b
commit a3e0b9a0c5
4 changed files with 64 additions and 33 deletions

View file

@ -16,7 +16,7 @@ layout(location = 0) out vec3 geoColor;
layout(location = 1) out vec2 geoTexCoord;
void main() {
gl_Position = ubo.geom_rot * ubo.model * vec4(inPosition, 1.0);
gl_Position = ubo.proj * ubo.view * ubo.geom_rot * ubo.model * vec4(inPosition, 1.0);
geoColor = inColor;
geoTexCoord = inTexCoord;
}

Binary file not shown.