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

View File

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