OpenGL fragment shader app for convenient graphics design

opengl
gui
#1

Hey guys,

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!

3 Likes

#2

This looks great! I was actually thinking about building something like this when I started playing around with fragment shaders in JUCE. Looks like you built something way more comprehensive than I was planning. Thanks for sharing, look forward to trying it out.

0 Likes

#3

No problem at all. It was supposed to be much simpler but I got carried away.

1 Like