BlendMap

Overview

BlendMap is a simple shader for mixing two colors.

For other methods of compositing colors, see LayerMap and OpMap.


Attribute Reference

General attributes

blend_amount

Float bindable
default: 0.5

The amount to blend between color A (0) and color B (1)

blend_type

Int enum
  0 = “linear” (default)
  1 = “cubic”

The type of blending algorithm

color_A

Rgb bindable
default: [ 1, 1, 1 ]

The color you get if blend amount is 0

color_B

Rgb bindable
default: [ 1, 1, 1 ]

The color you get if blend amount is 1

threshold_max

Float bindable
default: 1.0

If the blend amount is greater than this amount, it will choose color B (1)

threshold_min

Float bindable
default: 0.0

If the blend amount is less than or equal to this amount, it will choose color A (0)