triangles upper and lower layer, low vertex reuse
This commit is contained in:
parent
32577d548b
commit
a3e0b9a0c5
4 changed files with 64 additions and 33 deletions
shaders
|
@ -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;
|
||||
}
|
BIN
shaders/vert.spv
BIN
shaders/vert.spv
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue