diff --git a/doc/classes/SpriteBase3D.xml b/doc/classes/SpriteBase3D.xml index ca108e664f68..798772af5b4a 100644 --- a/doc/classes/SpriteBase3D.xml +++ b/doc/classes/SpriteBase3D.xml @@ -44,7 +44,7 @@ The type of alpha antialiasing to apply. See [enum BaseMaterial3D.AlphaAntiAliasing]. - + The alpha cutting mode to use for the sprite. See [enum AlphaCutMode] for possible values. diff --git a/scene/3d/sprite_3d.h b/scene/3d/sprite_3d.h index 1eb121195135..02252818f90f 100644 --- a/scene/3d/sprite_3d.h +++ b/scene/3d/sprite_3d.h @@ -86,7 +86,7 @@ class SpriteBase3D : public GeometryInstance3D { RID last_texture; bool flags[FLAG_MAX] = {}; - AlphaCutMode alpha_cut = ALPHA_CUT_DISABLED; + AlphaCutMode alpha_cut = ALPHA_CUT_OPAQUE_PREPASS; float alpha_scissor_threshold = 0.5; float alpha_hash_scale = 1.0; StandardMaterial3D::AlphaAntiAliasing alpha_antialiasing_mode = StandardMaterial3D::ALPHA_ANTIALIASING_OFF;