Shader Generator

Shader Generator

2D Generator - Create your own shader with mathematical beautifulness in OpenGL Shading Language through the Shader Editor You want to code some Shader inside of Smode? Here it is. Read More

The Shader layer generator allows you to code your own shader in GLSL. So do what you want...
Type CTRL+ENTER to recompile the shader after having modified it :
You can save your shaders by saving them as presets, see the Use presets Be fast, be free, fly like an eagle over the beaches of Normandy Read More section of the documentation to be informed.


Here is a simple example from the default Shader :


Do not forget to activate the Shader Pack Preset Pack to access to shaders already coded by the soft delicate hands of our dev team (check Use presets Be fast, be free, fly like an eagle over the beaches of Normandy Read More / Activate Presets Libraries section of the doc).
Here is a short introduction to how to import simple GLSL shader. For that you'll need to use our functions instead of the classical ones :
void main (){ }" --> "vec4 main(vec2 uv, vec2 dx, vec2 dy){}
gl_FragCoord.xy/u_resolution.xy" --> "uv"

Parameters

  • Dynamic Variables (Custom Shader) : Dynamic variables of the shader generator

Presets


Standard Presets: Simple Voronoi, Fractal Brownian, Tiles and Brick Shader II

See Also: