godot/scene
Fernando Cosentino cc8846bef6 Added material_overlay property to MeshInstance
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 GeometryInstance
(and therefore MeshInstance), 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.

Implemented in rasterizer of both GLES2 and GLES3.
2021-11-15 23:50:34 +00:00
..
2d Fix test_move reporting collision when touching another body 2021-11-10 11:07:32 -07:00
3d Added material_overlay property to MeshInstance 2021-11-15 23:50:34 +00:00
animation Fix AnimationNodeStateMachinePlayback start() on nonexistent node 2021-10-04 15:22:16 +02:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Promote object validity checks to release builds 2021-09-21 10:39:04 +02:00
gui Scrollwheel (w/o ctrl) to zoom, mouse warping when panning 2021-11-15 16:10:00 +01:00
main fix hardcoded raycast distance with viewport object picking 2021-11-15 16:31:25 +01:00
resources Modules: Make sure to include modules_enabled.gen.h where needed 2021-11-12 13:45:33 +01:00
property_utils.cpp Fix detection of non-default and overridden property values in scenes 2021-11-09 15:08:22 +01:00
property_utils.h Unify determination of default property values 2021-11-08 11:17:49 +01:00
register_scene_types.cpp Modules: Make sure to include modules_enabled.gen.h where needed 2021-11-12 13:45:33 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00
scene_string_names.h Display a editor gizmo icon for Listener 2021-09-16 23:37:12 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00