Restore default alpha_scissor_threshold to Sprite3D

This commit is contained in:
clayjohn 2020-09-27 22:54:50 -07:00
parent fc50d5b38c
commit b730c5596c

View file

@ -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();