Finished depth buffer

This commit is contained in:
2026-02-20 14:00:53 -05:00
parent 023a06c0cd
commit 0e784b7ad2
64 changed files with 7390 additions and 3524 deletions

View File

@@ -1,9 +1,13 @@
#version 450
layout(location = 0) in vec3 fragColor;
layout(location = 1) in vec2 fragTextureCoordinates;
layout(location = 0) out vec4 outColor;
layout(binding = 1) uniform sampler2D textureSampler;
void main() {
outColor = vec4(fragColor, 1.0);
}
outColor = texture(textureSampler, fragTextureCoordinates);
}