cables is under heavy development.
There might be one or another bug, please let us know about it!

ShaderToTexture Op

Namespace: Ops.Gl.Shader

Op author: pandur

render a shader into a texture

Designed to be mainly used with the customShader op.


Render (Trigger)

Trigger the op

Shader (Object)

Shader to turn into a texture

Texture Size

Use Viewport Size (boolean /Number)

When enabled the texture is the size of the viewport

Width (integer /Number)

Width of the texture in pixels

Height (integer /Number)

Height of the texture in pixels

Texture settings

filter index (integer /Number)

Pick a filter mode with an integer

wrap index (integer /Number)

Pick a wrap mode with an integer

Floating Point (boolean /Number)

Enable floating point precision

Num Textures index (integer /Number)


Next (Trigger)

Trigger out

Texture (Object)

Texture out

Texture 2 (Object)
Texture 3 (Object)
Texture 4 (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentation 

custom shader

the patch uses customShader Op to create a custom shader.

that shader is then rendered to a texture (displayed in the background)

the shader is also applied as a material and rendered on the cube.

Patches using ShaderToTexture

  • Examples (1)
  • Public
  • My Patches


renameOps.Gl.Shader.Shader2Texture renamed to Ops.Gl.Shader.ShaderToTexture
2023-09-14 - pandur