godot/drivers/gles2
lawnjelly c401960634 Batching - fix custom MODULATE shader applying modulate twice
One of the new fvf types (FVF_MODULATED) allows batching custom shaders that use modulate. The only slight oversight is that there is a special define when MODULATE is used in a custom shader, called MODULATE_USED, that is checked, and if set it does NOT apply final_modulate as part of canvas.glsl.

This MODULATE_USED define wasn't checked when the new FVF was used and modulate was passed in an attribute.

This PR moves the application of the final_modulate into the #ifndef MODULATE_USED section.
2021-03-04 20:28:57 +00:00
..
shaders Batching - fix custom MODULATE shader applying modulate twice 2021-03-04 20:28:57 +00:00
rasterizer_canvas_base_gles2.cpp Renaming rendering/2d project settings. 2021-03-01 11:38:46 +00:00
rasterizer_canvas_base_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_canvas_gles2.cpp Batching - prevent joining of lightmasked items 2021-02-18 09:57:02 +00:00
rasterizer_canvas_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rasterizer_scene_gles2.cpp GLES2 fix for consistent light ordering with BVH 2021-02-24 17:25:28 +00:00
rasterizer_scene_gles2.h GLES2 fix for consistent light ordering with BVH 2021-02-24 17:25:28 +00:00
rasterizer_storage_gles2.cpp Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
rasterizer_storage_gles2.h Check limits on texture or framebuffer creation 2021-02-13 13:36:15 -08:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
shader_compiler_gles2.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader_compiler_gles2.h CPU lightmapper fixes. 2021-01-15 12:32:54 +01:00
shader_gles2.cpp [GLES2] Fix binding 3D Transforms to mat4 uniforms 2021-02-03 17:36:21 -06:00
shader_gles2.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00