mirror of https://github.com/godotengine/godot
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. |
||
|---|---|---|
| .. | ||
| alsa | ||
| alsamidi | ||
| coreaudio | ||
| coremidi | ||
| dummy | ||
| gl_context | ||
| gles2 | ||
| gles3 | ||
| gles_common | ||
| png | ||
| pulseaudio | ||
| unix | ||
| wasapi | ||
| windows | ||
| winmidi | ||
| xaudio2 | ||
| SCsub | ||
| register_driver_types.cpp | ||
| register_driver_types.h | ||