mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
c571e4a7f4
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> |
||
---|---|---|
.. | ||
renderer_rd | ||
rasterizer_dummy.h | ||
renderer_canvas_cull.cpp | ||
renderer_canvas_cull.h | ||
renderer_canvas_render.cpp | ||
renderer_canvas_render.h | ||
renderer_compositor.cpp | ||
renderer_compositor.h | ||
renderer_scene_cull.cpp | ||
renderer_scene_cull.h | ||
renderer_scene_occlusion_cull.cpp | ||
renderer_scene_occlusion_cull.h | ||
renderer_scene_render.cpp | ||
renderer_scene_render.h | ||
renderer_scene.cpp | ||
renderer_scene.h | ||
renderer_storage.cpp | ||
renderer_storage.h | ||
renderer_thread_pool.cpp | ||
renderer_thread_pool.h | ||
renderer_viewport.cpp | ||
renderer_viewport.h | ||
rendering_device_binds.cpp | ||
rendering_device_binds.h | ||
rendering_device.cpp | ||
rendering_device.h | ||
rendering_server_default.cpp | ||
rendering_server_default.h | ||
rendering_server_globals.cpp | ||
rendering_server_globals.h | ||
SCsub | ||
shader_language.cpp | ||
shader_language.h | ||
shader_types.cpp | ||
shader_types.h | ||
shader_warnings.cpp | ||
shader_warnings.h |