mirror of
https://github.com/BlueMap-Minecraft/BlueMapWeb.git
synced 2024-11-24 10:55:11 +01:00
Fix #295
This commit is contained in:
parent
8d581ce782
commit
4ee492bd1d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user