ShaderToTexture_v2 Op
render a shader into a texture
Summary (oneliner)
Designed to be mainly used with the customShader op.
Full Name
- 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
Render (Trigger)
Trigger the op
Shader (Object:shader)
Shader to turn into a texture
Texture Size
Size index (Number:integer )
Width (Number:integer )
Width of the texture in pixels
Height (Number:integer )
Height of the texture in pixels
Texture settings
filter index (Number:integer )
Pick a filter mode with an integer
Anisotropic index (Number:integer )
wrap index (Number:integer )
Pick a wrap mode with an integer
Pixel Format index (Number:integer )
Num Textures index (Number:integer )
OUTPUT PORTS
Next (Trigger)
Trigger out
Texture (Object)
Texture out
Texture 2 (Object)
Texture 3 (Object)
Texture 4 (Object)