Basic 3D rendering

This commit is contained in:
var
2026-04-01 00:13:07 -05:00
parent 7b40b8702c
commit b4768a885b
14 changed files with 638 additions and 23 deletions

13
res/glsl/fragment.glsl Normal file
View File

@@ -0,0 +1,13 @@
#version 450 core
in vec3 textureCoord;
out vec4 color;
uniform sampler2DArray textureSampler;
void main()
{
color = texture(textureSampler, textureCoord);
if (color.w < 0.1) discard;
}