/glslTexture

Blender addon to create 2D textures from GLSL. It follows the same nomenclature that glslViewer, glslCanvas, glslEditor, ofxShader and PixelSpirit

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Create textures from Glsl fragment shaders on Blender 2.8+

Install

// TODO

Use

  1. Operator Search: F3 (or SpaceBar depending on your setup). Type GlslTexture

  1. Change width and height size and Source file (which can be a path to an external file).

  1. Use the Image on your materials. The Image name will be based on the name of the source file.

  1. 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