Is it possible to make it so the sabr shader only affects the map and not the dialogue and portrait? The portrait is made through the use of the battle portrait function https://psdk.pokemonworkshop.fr/wiki/en/event_making/messages.html
This is the code I'm using
Shader.register(:sc_sabr, 'graphics/shaders/sc_sabr.txt')
Graphics.on_start do
shader = Shader.create(:sc_sabr)
Graphics.shader = shader
shader.set_float_uniform("rubyTextureSize", [Graphics.width, Graphics.height])
end