godot/drivers/gles2/shaders
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
..
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
blend_shape.glsl
canvas.glsl Batching - fix custom MODULATE shader applying modulate twice 2021-03-04 20:28:57 +00:00
canvas_shadow.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
copy.glsl
cube_to_dp.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
cubemap_filter.glsl
effect_blur.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
exposure.glsl
lens_distorted.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
particles.glsl
resolve.glsl
scene.glsl Improve PCF13 shadow rendering in GLES2 by using a soft PCF filter 2021-02-22 13:36:15 +01:00
screen_space_reflection.glsl
ssao.glsl
ssao_blur.glsl
ssao_minify.glsl
stdlib.glsl Fixed the inverse(mat3) polyfill for GLES2 2020-12-07 22:19:45 +01:00
subsurf_scattering.glsl
tonemap.glsl Add fast approximate antialiasing (FXAA) to Viewport 2020-10-20 14:54:52 +02:00