mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
Merge branch 'MihailRis:main' into main
This commit is contained in:
commit
253bd9253f
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