A plugin for a custom GLSL frag shader on game load?

Hey all, this is a really weird question, but I want to load in a custom GLSL shader I wrote as soon as my game starts. I've tried reading on PIXI.js but I cannot, for the life of me, understand what is going on in JavaScript due to the constant dynamic typing. I have a shader that would basically convert the image from the top one to the bottom (see spoiler), but I want the shader to be turned on as soon as the game starts loading.

Spoiler: Screenshots
No shader:
O9cTyVb.png

With shader:
04UZfTc.png

No, it doesn't have to account for players, or menus or anything, just assume the entire canvas is a single sampler2D, to be able to load a single shader, and maybe reload it in the middle of the game in case for quick palette swaps.
Well, it's been a while since I poked around in the code for the engine honestly, but as I recall, you need to render the scene to a texture, and then render that with the shader you want applied, otherwise you'd need to apply that shader to everything. I seem to recall sprites having a list of Filters, I believe they called them, which I believe are the way Pixi allows you to create custom shaders.

Original thread: https://forums.rpgmakerweb.com/threads/a-plugin-for-a-custom-glsl-frag-shader-on-game-load.77925/