virtualx-engine/drivers
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
..
alsa Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
alsamidi Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
coreaudio Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
coremidi Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
dummy Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
gl_context SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
gles2 Added material_overlay property to MeshInstance 2021-11-15 23:50:34 +00:00
gles3 Added material_overlay property to MeshInstance 2021-11-15 23:50:34 +00:00
gles_common clang-format: Various fixes to comments alignment from clang-format 13 2021-10-28 14:50:32 +02:00
png Merge pull request #47854 from mortarroad/3.x-lossless-webp 2021-06-11 19:35:47 +02:00
pulseaudio Use application name for pulseaudio device 2021-11-15 17:22:47 +01:00
unix Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
wasapi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
windows Merge pull request #52964 from Pineapple/WIN32_LEAN_AND_MEAN 2021-10-05 12:03:52 +02:00
winmidi Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
xaudio2 Add missing WIN32_LEAN_AND_MEAN 2021-09-23 10:36:31 +02:00
register_driver_types.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
register_driver_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Unified GLES2 / GLES3 Batching 2020-10-16 10:34:47 +01:00