Gradient

Creates gradients of several different types (0=linear, 1=circular, 2=angle, 3=diamond, 4=linedis.

Gradient in Lightact's Layer Layouts visual scripting system.
Screenshot of Gradient node.

Inputs

TypeNameDescription
Vec2Pair of float values
ResolutionA pair of float values
ColorValue represented by four channels - each ranging from 0 to 255
Color 1A color data structure
ColorValue represented by four channels - each ranging from 0 to 255
Color 2A color data structure
Vec2Pair of float values
Point 1A pair of float values
Vec2Pair of float values
Point 2A pair of float values
IntStores whole number value
ModeAn integer value

Outputs

TypeNameDescription
TextureGl texture element
OutputReturns a gl::Texture2dRef data structure