Fix block preview transparency and offset issues

This commit is contained in:
InfiniteCoder
2024-02-26 20:44:17 +03:00
parent 5f88df0d95
commit f02859ea00
2 changed files with 13 additions and 15 deletions
+1
View File
@@ -6,4 +6,5 @@ uniform sampler2D u_texture;
void main(){
f_color = a_color * texture(u_texture, a_textureCoord);
if (f_color.a == 0.0) discard;
}