beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
CustomShader
Ops.Gl.Shader.CustomShader
write your own shader

summary (oneliner)

to render a shader directly to a texture use Ops.Gl.Shader.Shader2Texture

doc

issues

youtube id

collections

related ops

Inputs

render (Trigger)

Source Code

fragment (Number)

vertex (Number)

Outputs

trigger (Trigger)

Shader (Object)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
custom shader:
Op example patch is not public domain!

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.



video tutorial:

Credits


Changelog


Now parses uniforms from source code, uniforms don't disappear when not in use
2019-05-16 - pandur

Examples using CustomShader

Public Patches using CustomShader