mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-15 10:23:57 +00:00
Merge pull request #42380 from clayjohn/Sprite3D-alpha-cut
Restore default alpha_scissor_threshold to Sprite3D
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user