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
SCsub RenderingServer reorganization 2020-12-04 18:39:46 -03: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 Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
renderer_canvas_render.h Makes FontData importable resource. 2021-08-27 15:43:18 +03:00
renderer_compositor.cpp Add stereoscopic rendering through multiview 2021-06-13 22:52:20 +10:00
renderer_compositor.h Add source rectangle to blit 2021-08-29 14:57:16 +10:00
renderer_scene.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
renderer_scene.h Implement distance fade and transparency 2021-10-25 11:39:34 +02:00
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 Clean up RenderingServer and its bindings 2021-07-01 09:07:36 -03:00
renderer_scene_occlusion_cull.h Occlusion culling fixes 2021-09-10 18:15:10 +02:00
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_storage.cpp Use range iterators for `Map` 2021-09-30 15:09:12 -06:00
renderer_storage.h Use real_t and double where appropriate in Particles 2021-08-12 11:35:31 -05:00
renderer_thread_pool.cpp Threaded optimizations to cull and render 2021-01-05 08:50:18 -03:00
renderer_thread_pool.h Threaded optimizations to cull and render 2021-01-05 08:50:18 -03:00
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.cpp Fix missing argument names in bindings 2021-10-09 00:20:10 +02:00
rendering_device.h Expose Vulkan internal values for access from extensions 2021-09-09 22:28:32 +10: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_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 Refactor VisibilityNotifier 2021-06-16 10:48:57 -03:00
rendering_server_globals.h Refactor VisibilityNotifier 2021-06-16 10:48:57 -03:00
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 Removed `RESTART` built-in from `start` particle shader function 2021-08-17 15:13:16 +03:00
shader_types.h Added editor dialog for easily creating shaders. 2021-08-07 21:02:13 +03:00
shader_warnings.cpp Use range iterators for `Map` 2021-09-30 15:09:12 -06:00
shader_warnings.h Added a shader warning about unused local variable 2021-06-29 15:39:37 +03:00