Files
godot/scene/resources
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
..
2021-10-19 11:37:31 -03:00
2021-09-30 15:09:12 -06:00
2021-10-14 04:08:39 -04:00
2021-08-09 17:43:48 -05:00
2021-09-30 15:09:12 -06:00
2021-10-12 20:20:19 +07:00
2021-10-21 18:44:25 +01:00
2021-07-24 09:16:52 -03:00
2021-09-30 15:09:12 -06:00
2021-10-21 18:44:25 +01:00
2021-06-03 07:30:01 -04:00
2021-09-30 15:09:12 -06:00
2021-06-11 18:48:42 +02:00
2021-09-30 22:30:05 +09:00
2021-10-19 11:57:37 +02:00