godot/servers/rendering/renderer_rd
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
..
forward_clustered Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
forward_mobile Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
shaders Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
cluster_builder_rd.cpp
cluster_builder_rd.h Swap args of Plane(point, normal) constructor 2021-10-15 20:49:42 -05:00
effects_rd.cpp
effects_rd.h
pipeline_cache_rd.cpp Fix wireframe render mode 2021-10-15 06:53:52 +03:00
pipeline_cache_rd.h
renderer_canvas_render_rd.cpp
renderer_canvas_render_rd.h
renderer_compositor_rd.cpp
renderer_compositor_rd.h
renderer_scene_environment_rd.cpp Remove unimplemented Environment.ambient_light_occlusion_color property 2021-10-07 17:47:52 +02:00
renderer_scene_environment_rd.h Remove unimplemented Environment.ambient_light_occlusion_color property 2021-10-07 17:47:52 +02:00
renderer_scene_gi_rd.cpp Remove unimplemented Environment.ambient_light_occlusion_color property 2021-10-07 17:47:52 +02:00
renderer_scene_gi_rd.h Remove unimplemented Environment.ambient_light_occlusion_color property 2021-10-07 17:47:52 +02:00
renderer_scene_render_rd.cpp Add Soft Very Low shadow quality mode for 3D 2021-10-21 18:34:26 +02:00
renderer_scene_render_rd.h Remove unimplemented Environment.ambient_light_occlusion_color property 2021-10-07 17:47:52 +02:00
renderer_scene_sky_rd.cpp
renderer_scene_sky_rd.h
renderer_storage_rd.cpp Prevent a rendering crash and error spam for uniform texture array 2021-10-20 21:30:27 +03:00
renderer_storage_rd.h Replaced NULL with nullptr 2021-10-12 20:20:19 +07:00
SCsub
shader_compiler_rd.cpp Implement toast notifications in the editor 2021-10-14 13:30:54 +02:00
shader_compiler_rd.h
shader_rd.cpp
shader_rd.h