feat(rendering): separate transparent blocks into discard and blend modes

This commit is contained in:
2026-06-05 13:09:49 +08:00
parent aa3805448f
commit 32b703a0f4
18 changed files with 176 additions and 91 deletions

View File

@@ -8,7 +8,7 @@ layout (binding = 0) uniform sampler2DArray samp;
void main(void) {
color = texture(samp, vec3(tc, tex_layer));
if (color.a < 0.1) {
if (color.a < 0.45) {
discard;
}
//color = varyingColor;