virtualx-engine/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
..
blend_shape.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
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 fix gles2 broken panorama sky on oculus quest 2019-09-22 18:53:38 +02:00
cube_to_dp.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
cubemap_filter.glsl GLES2: Fix comments in previous commit that broke rendering (!) 2019-03-12 00:26:56 +01:00
effect_blur.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
exposure.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
lens_distorted.glsl Implement DOF blur, Glow, and BCS in GLES2 2019-09-30 08:04:31 -07:00
particles.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
resolve.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
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 Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
ssao.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_blur.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
ssao_minify.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
stdlib.glsl Fixed the inverse(mat3) polyfill for GLES2 2020-12-07 22:19:45 +01:00
subsurf_scattering.glsl Style: Enable clang-format on GLSL shaders 2018-08-27 07:34:14 +02:00
tonemap.glsl Add fast approximate antialiasing (FXAA) to Viewport 2020-10-20 14:54:52 +02:00