godot/servers/rendering
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
..
renderer_rd Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
rasterizer_dummy.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
renderer_canvas_cull.cpp Rename RID's getornull() to get_or_null() 2021-09-29 23:58:02 +02:00
renderer_canvas_cull.h Replace references to VisualServer in code comments with RenderingServer 2021-10-07 15:49:41 +02:00
renderer_canvas_render.cpp
renderer_canvas_render.h
renderer_compositor.cpp
renderer_compositor.h
renderer_scene_cull.cpp Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
renderer_scene_cull.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
renderer_scene_occlusion_cull.cpp
renderer_scene_occlusion_cull.h
renderer_scene_render.cpp Swap args of Plane(point, normal) constructor 2021-10-15 20:49:42 -05:00
renderer_scene_render.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
renderer_scene.cpp
renderer_scene.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
renderer_storage.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
renderer_storage.h
renderer_thread_pool.cpp
renderer_thread_pool.h
renderer_viewport.cpp Merge pull request #52210 from BastiaanOlij/enhance_xr_trackers 2021-10-19 08:11:32 +02:00
renderer_viewport.h Allow any floating-point value as a 3D rendering scale option 2021-10-08 18:22:10 +02:00
rendering_device_binds.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
rendering_device_binds.h Use range iterators for Map 2021-09-30 15:09:12 -06:00
rendering_device.cpp Fix missing argument names in bindings 2021-10-09 00:20:10 +02:00
rendering_device.h
rendering_server_default.cpp Replace references to VisualServer in code comments with RenderingServer 2021-10-07 15:49:41 +02:00
rendering_server_default.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
rendering_server_globals.cpp
rendering_server_globals.h
SCsub
shader_language.cpp Prevent shader crash when passing constant expression to textureGather 2021-10-21 19:46:05 +03:00
shader_language.h Added few more built-ins to shader language 2021-10-13 20:27:36 +03:00
shader_types.cpp
shader_types.h
shader_warnings.cpp Use range iterators for Map 2021-09-30 15:09:12 -06:00
shader_warnings.h