virtualx-engine/drivers/gles3
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
..
shaders Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
rasterizer_canvas_base_gles3.cpp clang-format: Enable BreakBeforeTernaryOperators 2021-10-28 14:50:33 +02:00
rasterizer_canvas_base_gles3.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rasterizer_canvas_gles3.cpp Add DEV_ASSERT and DEV_CHECK macros 2021-10-04 14:57:54 +01:00
rasterizer_canvas_gles3.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_gles3.cpp Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
rasterizer_gles3.h Clear glErrors instead of crashing when initializing GLES3 2021-06-21 17:53:24 +01:00
rasterizer_scene_gles3.cpp Added material_overlay property to MeshInstance 2021-11-15 23:50:34 +00:00
rasterizer_scene_gles3.h Add high quality glow mode 2021-08-11 17:00:41 +02:00
rasterizer_storage_gles3.cpp Added material_overlay property to MeshInstance 2021-11-15 23:50:34 +00:00
rasterizer_storage_gles3.h [HTML5] Call glGetBufferSubData directly from C++. 2021-11-14 15:54:05 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_cache_gles3.cpp Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
shader_cache_gles3.h Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
shader_compiler_gles3.cpp Merge pull request #53411 from RandomShaper/ubershaders_3.x 2021-11-09 13:12:44 +01:00
shader_compiler_gles3.h Backport dd0874e "Allow passing varying from fragment to light shader function" to 3.4 2021-05-14 11:28:48 -07:00
shader_gles3.cpp Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00
shader_gles3.h Implement async shader compilation plus caching for GL ES 3 2021-11-09 12:19:12 +01:00