This commit is contained in:
Lukas Rieger (Blue) 2022-10-21 22:20:40 +02:00
parent 8d581ce782
commit 4ee492bd1d
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ varying float vBlocklight;
void main() {
vec4 color = texture(textureImage, vUv);
if (color.a == 0.0) discard;
if (color.a <= 0.01) discard;
//apply vertex-color
color.rgb *= vColor.rgb;