mirror of https://github.com/godotengine/godot
Merge pull request #42380 from clayjohn/Sprite3D-alpha-cut
Restore default alpha_scissor_threshold to Sprite3D
This commit is contained in:
commit
7dc890f438
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue