mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-17 16:17:02 +08:00
fix: resolve transparency rendering issues
This commit is contained in:
@@ -8,5 +8,8 @@ layout (binding = 0) uniform sampler2DArray samp;
|
||||
|
||||
void main(void) {
|
||||
color = texture(samp, vec3(tc, tex_layer));
|
||||
if (color.a < 0.5) {
|
||||
discard;
|
||||
}
|
||||
//color = varyingColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user