Developing GLSL shaders in Visualizer - getting started

contains the latest version of our visualizer plugin (replacing Chrome)

Return to “ZGameEditor Visualizer forum”

[You can only see part of this thread as you are not logged in to the forums]
VilleK (staff)
Wed Mar 11, 2015 12:51 pm

1 x

Developing GLSL shaders in Visualizer - getting started

Since we are getting shader developers from Shadertoy.com coming to these forums, I'd thought I'd write a short introduction on how to get started.

First install the latest FL-Studio beta version.

To start the Visualizer:
- Start FL and add "ZGameEditor Visualizer" plugin to the master mixer (or just open one of the demo projects in "Visualizer" folder)

The effects in the visualizer are individual script files located here: <your fl studio path>\Plugins\Fruity\Effects\ZGameEditor Visualizer\Effects

You can add new scripts and they will show up in the visualizer.

To use the effect script editor:
- Install ZGameEditor: http://www.zgameeditor.org/index.php/Main/Download
- Start ZGameEditor and go to Tools - Settings
- Click Associate zgeproj extension

ZGameEditor is a complete little IDE initially intended for game development. More info about it here: http://www.zgameeditor.org/

Now when you are in FL you can right-click on an effect name and select "Edit in ZGameEditor". Then you can edit the shader, click save, and it will automatically reload in the visualizer.

In FL-Studio parameters can be automated so you can trigger different visuals at different positions in the song or you can connect a parameter to a peak controller and get audio reactivity that way. It is also possible to get direct access to fft and audio data.

To convert an existing shader to the visualizer:
- here are some notes on how I converted a shader from Shadertoy. There are some more info in that thread too.

Other links:
- Coding info about the Visualizer effects
- And some more coding info

Just ask if you need more help!

StevenM
Wed Mar 11, 2015 5:02 pm

1 x

Shadertoy uniform variable equivlents

This covers some possible ways to handle common...


StevenM
Fri Jul 14, 2017 1:21 pm

0 x

GPU compatibility Checklist

This list is here to check scripts for GPU inco...


Return to “ZGameEditor Visualizer forum”