Here to follow up on my journey into learning OpenGL in JUCE. I took some time to make an app for conveniently developing fragment shaders that respond to JUCE mouse/touch events.
Just load your shaders into the app’s “CWD” folder that gets generated in your Documents folder after you run it. Or you can drag and drop them directly onto the toolbar to load into all panels, or onto a single panel.
Hit Live Compile while editing and saving shaders in your IDE and the app will update its display with your changes. Open the app’s console if you need feedback on the state of the mouse listeners or if you run into any compile errors.
I’m still in the very early stages in learning OpenGL so I haven’t figured out how to support textures or 3D objects yet. But it should prove useful for anyone that wants to just add simple 2D animations in their JUCE apps using OpenGL. Enjoy!