mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-12 01:40:14 +01:00
1.2 KiB
1.2 KiB
Operators
Functions for performing operations on sources.
add
.add( texture, amount )
texturecolor:: see colorvec4src:: seesrcshape:: seeshape
amount:: float (default0.5)
Add textures.
blend
.blend( texture, amount )
texturecolor:: see colorvec4src:: seesrcshape:: seeshape
amount:: float (default0.5)
Blend textures.
diff
.diff( texture )
texturecolor:: see colorvec4src:: seesrcshape:: seeshape
Return difference of textures.
layer
.layer( texture )
texturecolor:: see colorvec4src:: seesrcshape:: seeshape
Overlay texture based on alpha value.
mult
.mult( texture, amount )
texturecolor:: see colorvec4src:: seesrcshape:: seeshape
amount:: float (default1.0)
Multiply images and blend with the texture by amount.