godot/scene
JFonS c571e4a7f4 Implement distance fade and transparency
The built-in ALPHA in spatial shaders comes pre-set with a per-instance
transparency value. Multiply by it if you want to keep it.

The transparency value of any given GeometryInstance3D is affected by:
   - Its new "transparency" property.
   - Its own visiblity range when the new "visibility_range_fade_mode"
     property is set to "Self".
   - Its parent visibility range when the parent's fade mode is
     set to "Dependencies".

The "Self" mode will fade-out the instance when reaching the visibility
range limits, while the "Dependencies" mode will fade-in its
dependencies.

Per-instance transparency is only implemented in the forward clustered
renderer, support for mobile should be added in the future.

Co-authored-by: reduz <reduzio@gmail.com>
2021-10-25 11:39:34 +02:00
..
2d Merge pull request #54120 from zaevi/fix_null-ref_crashes 2021-10-23 19:00:12 +02:00
3d Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
animation Remove unimplemented methods 2021-10-21 18:44:25 +01:00
audio Allow AudioStreamPlayer(2D) to provide pitch_scale on playback 2021-10-10 18:52:29 -03:00
debugger Use range iterators for Map 2021-09-30 15:09:12 -06:00
gui Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warning 2021-10-23 19:13:34 +02:00
main Merge pull request #54088 from madmiraal/remove-unimplemented-methods 2021-10-22 12:59:32 +02:00
resources Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
register_scene_types.cpp Rename Tabs to TabBar 2021-10-19 11:37:31 -03:00
register_scene_types.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
scene_string_names.cpp Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo 2021-10-06 21:11:20 +02:00
scene_string_names.h Merge pull request #45699 from TokageItLab/implement-skeleton-editor-gizmo 2021-10-06 21:11:20 +02:00
SCsub Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00