e7bec77ef3
Where the final_modulate color varies between render_items this can prevent batching. This PR solves this by baking final_modulate into the vertex colors, and setting the uniform 'final_modulate' to white, and allowing the joining of items that have different final_modulate values. The previous batching system can then cope with vertex color changes as normal. |
||
---|---|---|
.. | ||
shaders | ||
SCsub | ||
rasterizer_array_gles2.h | ||
rasterizer_canvas_base_gles2.cpp | ||
rasterizer_canvas_base_gles2.h | ||
rasterizer_canvas_gles2.cpp | ||
rasterizer_canvas_gles2.h | ||
rasterizer_gles2.cpp | ||
rasterizer_gles2.h | ||
rasterizer_scene_gles2.cpp | ||
rasterizer_scene_gles2.h | ||
rasterizer_storage_gles2.cpp | ||
rasterizer_storage_gles2.h | ||
shader_compiler_gles2.cpp | ||
shader_compiler_gles2.h | ||
shader_gles2.cpp | ||
shader_gles2.h |