Skip to content

ofnode/ofxAutoReloadedShader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 72.7%
  • GLSL 24.8%
  • Makefile 2.5%