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

x

Developing GLSL shaders in Visualizer - getting started

Since we are getting shader developers from Shadertoy.com coming to these forums, I 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

x

For Programmers: Prerequisites, Getting Started, Features, and ShaderToys.

Some tips for coders that want to develop effec...
You do not have the required permissions to view the files attached to this post.



StevenM
Thu Jan 20, 2022 12:52 pm

x

Re: Developing GLSL shaders in Visualizer - getting started

Michael_Z_Freeman wrote: ↑Tue Jan 18, 2022 7:17...
You do not have the required permissions to view the files attached to this post.




Return to “ZGameEditor Visualizer forum”