From b730c5596c1e46373684ad6a541956cc5e82257f Mon Sep 17 00:00:00 2001 From: clayjohn Date: Sun, 27 Sep 2020 22:54:50 -0700 Subject: [PATCH] Restore default alpha_scissor_threshold to Sprite3D --- scene/3d/sprite_3d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scene/3d/sprite_3d.cpp b/scene/3d/sprite_3d.cpp index 6a51045d41d..8a99680ebc2 100644 --- a/scene/3d/sprite_3d.cpp +++ b/scene/3d/sprite_3d.cpp @@ -394,6 +394,7 @@ SpriteBase3D::SpriteBase3D() { VS::get_singleton()->material_set_param(material, "uv1_scale", Vector3(1, 1, 1)); VS::get_singleton()->material_set_param(material, "uv2_offset", Vector3(0, 0, 0)); VS::get_singleton()->material_set_param(material, "uv2_scale", Vector3(1, 1, 1)); + VS::get_singleton()->material_set_param(material, "alpha_scissor_threshold", 0.98); mesh = VisualServer::get_singleton()->mesh_create();