Generates plastic-style textures using a single auto-reloaded shader, with shortcuts to change the texture offset at runtime.
Branches ahead of master
These branches have commits not yet on master — could be unmerged fixes or work in progress worth a look.
README
ofxPlasticTexture
OpenFrameworks Plastic textures generator.

Install OF
In order to install OpenFrameworks, find the guide here.Description
Structure
The addon works withofxAutoReloadedShader, that's the only dependency. It has been added as a local addon in order to get the exact same version.There is only one header for easy reading, and only one shader file too.
The addon can be used as a local_addon or not, the line 14 of
ofxPlasticTexture.hpp must be commented out if not used as a local addon: #define LOCALADDON in order to get the right path. Getting Started
Local Addon
Add this to yourOF/apps folder. Normal Addon
Add this to yourOF/addons folder, and comment out : #define LOCALADDON from ofxPlasticTexture.hpp line 14.</br> Try the example.
ShortCuts:
// ==== ofApp.cpp
if(key == ' ')plastic.updateTexture(); // changes textures offset
if(key == 'r')plastic.resetTextureOffset(); // reset offset to (0,0)
if(key == 'm')plastic.moveTexture(); // noise Offset Moves / StopsAuthor
_pierre Tardif_ codingcoolsh.it :floppy_disk:
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Acknowledgments
TheBookOfShaders :crystal_ball:
- noise :triangular_ruler:
Get this addon
Latest release
version 1.0 working with Openframeworks 11.0 on macOS Catalina.
ofxAddons