ShaderToTexture_v2 Op
render a shader into a texture
Summary (oneliner)
<p>Designed to be mainly used with the customShader op.</p>
- Ops.Gl.Shader.ShaderToTexture_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch 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.
INPUT PORTS
Trigger the op
Shader to turn into a texture
Texture Size
<i>integer</i>
)<i>integer</i>
)Width of the texture in pixels
<i>integer</i>
)Height of the texture in pixels
Texture settings
<i>integer</i>
)Pick a filter mode with an integer
<i>integer</i>
)<i>integer</i>
)Pick a wrap mode with an integer
<i>integer</i>
)<i>integer</i>
)OUTPUT PORTS
<p>Trigger out</p>
<p>Texture out</p>