Blender addon to create 2D textures from GLSL. It follows the same nomenclature that glslViewer, glslCanvas, glslEditor, ofxShader and PixelSpirit
Blender addon to create 2D textures from GLSL. It follows the same nomenclature that glslViewer, glslCanvas, glslEditor, ofxShader and PixelSpirit
Create textures from Glsl fragment shaders on Blender 2.8+ (works only on Linux and Windows for now)
Operator Search: F3 (or SpaceBar depending on your setup). Type GlslTexture
Change width and height size and Source file (which can be a path to an external file).
Use the Image on your materials. The Image name will be based on the name of the source file.
Go to the Text Editor (or an external editor if your source file is external) and edit the shader. It will hot reload.
The uniform specs will be the same that:
So far the supported uniforms are:
uniform vec2 u_resolution;: 2D vector with the width and height of the target texture uniform float u_time;: float variable with the amount of seconds of the timeline[ ] Reaload GlslTextures (actually any image with the same name that a text on a project) [ ] Improve performance for animation [ ] it's possible to make this a node to pass uniforms in? [ ] Multi buffers?
No open issues yet, or sync has not completed.