godot/scene
Fernando Cosentino ca79373d13
Added material_overlay property to MeshInstance3D
Applying overlay materials into multi-surface meshes currently
requires adding a next pass material to all the surfaces, which
might be cumbersome when the material is to be applied to a range
of different geometries. This also makes it not trivial to use
AnimationPlayer to control the material in case of visual effects.
The material_override property is not an option as it works
replacing the active material for the surfaces, not adding a new pass.

This commit adds the material_overlay property to GeometryInstance3D
(and therefore MeshInstance3D), having the same reach as
material_override (that is, all surfaces) but adding a new material
pass on top of the active materials, instead of replacing them.
2022-01-05 11:47:51 +01:00
..
2d Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
3d Added material_overlay property to MeshInstance3D 2022-01-05 11:47:51 +01:00
animation Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
audio Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
debugger Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gui Merge pull request #56255 from PucklaMotzer09/control_unfocus 2022-01-05 10:59:39 +01:00
main Merge pull request #55512 from RandomShaper/better_node_delete 2022-01-05 10:25:13 +01:00
resources Merge pull request #56193 from kodiwills/fix-update-mode-not-refreshed-visually-on-undo 2022-01-05 10:53:34 +01:00
property_utils.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
property_utils.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_scene_types.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
register_scene_types.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
scene_string_names.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
SCsub Disable Node3D when compiling without 3D and fix disable_3d option 2021-08-13 08:59:48 -05:00