Tweak Decal distance fade defaults and add property hints
The new default values are more usable in real world scenarios when smooth fading of distant decals is desired for performance reasons. The Decal distance fade property hints were adjusted based on the GeometryInstance3D visibility range fade property hints. `or_greater` was also added to allow specifying larger values if needed.
This commit is contained in:
parent
ad9a8e70f4
commit
a151a74a98
5 changed files with 21 additions and 15 deletions
|
|
@ -191,8 +191,8 @@ struct Decal {
|
|||
float upper_fade = 0.3;
|
||||
float lower_fade = 0.3;
|
||||
bool distance_fade = false;
|
||||
float distance_fade_begin = 10;
|
||||
float distance_fade_length = 1;
|
||||
float distance_fade_begin = 40.0;
|
||||
float distance_fade_length = 10.0;
|
||||
float normal_fade = 0.0;
|
||||
|
||||
Dependency dependency;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue