Files
hydra/docs/funcs_operators.md
2019-03-20 11:24:49 +00:00

1.2 KiB

Operators

Functions for performing operations on sources.

add

.add( texture, amount )

  • texture
  • amount :: float (default 0.5)

Add textures.

blend

.blend( texture, amount )

  • texture
  • amount :: float (default 0.5)

Blend textures.

diff

.diff( texture )

Return difference of textures.

layer

.layer( texture )

Overlay texture based on alpha value.

mult

.mult( texture, amount )

  • texture
  • amount :: float (default 1.0)

Multiply images and blend with the texture by amount.