mirror of
https://github.com/godotengine/godot.git
synced 2025-01-12 20:22:49 +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> |
||
---|---|---|
.. | ||
forward_clustered | ||
forward_mobile | ||
shaders | ||
cluster_builder_rd.cpp | ||
cluster_builder_rd.h | ||
effects_rd.cpp | ||
effects_rd.h | ||
pipeline_cache_rd.cpp | ||
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 | ||
renderer_scene_environment_rd.h | ||
renderer_scene_gi_rd.cpp | ||
renderer_scene_gi_rd.h | ||
renderer_scene_render_rd.cpp | ||
renderer_scene_render_rd.h | ||
renderer_scene_sky_rd.cpp | ||
renderer_scene_sky_rd.h | ||
renderer_storage_rd.cpp | ||
renderer_storage_rd.h | ||
SCsub | ||
shader_compiler_rd.cpp | ||
shader_compiler_rd.h | ||
shader_rd.cpp | ||
shader_rd.h |