mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
Fix block preview transparency and offset issues
This commit is contained in:
parent
5f88df0d95
commit
f02859ea00
2 changed files with 13 additions and 15 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue