← Back

ofxAutoReloadedShader

github.com/andreasmuller/ofxAutoReloadedShader · @andreasmuller
OF 0.7 Graphics

Extended ofShader that watches shader files and hot-reloads them on change for live coding.

65 24 Last commit 6y ago Created 13y ago

Forks

Forks pushed to more recently than andreasmuller/ofxAutoReloadedShader itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.

wozhub/ofxAutoReloadedShader by @wozhub · ★ 0 · pushed 1mo ago
kasparsj/ofxAutoReloadedShader by @kasparsj · ★ 0 · pushed 11mo ago
fishkingsin/ofxAutoReloadedShader by @fishkingsin · ★ 0 · pushed 1y ago
fusefactory/ofxAutoReloadedShader by @fusefactory · ★ 1 · pushed 2y ago
armadillu/ofxAutoReloadedShader by @armadillu · ★ 0 · pushed 2y ago
cyrstem/ofxAutoReloadedShader by @cyrstem · ★ 0 · pushed 3y ago

README

ofxAutoReloadedShader



Introduction

ofxAutoReloadedShader is an extended version of ofShader that periodically checks the shader files you have provided it with for changes and reloads them if any have changed.

The sample program 'example-ShaderLiveCoding' shows how this may be of use, simply run the program and open LiveShader.frag or LiveShaderDesktop.frag (depending on platform) in your favourite text editor and the shader will recompile every time you save. Keep an eye on your debug console for an error log should the shader fail to compile.

By default ofxAutoReloadedShader will check for changes every 2 seconds, this can be changed by calling setMillisBetweenFileCheck( int _millis ).

Licence

Distributed under the MIT License, see the file 'license.md'.

Installation



Dependencies

None

Compatibility

Created with openFrameworks 0.7.3

Known issues



Version history



Version 0.1 (24/02/2113):



First Release.

Get this addon

HTTPS
SSH