N-Points Gradient

2D Generator  -  Create gradient from multiple points

MultiPointGradientTextureGenerator MultiPointGradientTextureGenerator MultiPointGradientTextureGenerator MultiPointGradientTextureGenerator

This generator creates a 2 point LinearGradientTextureGenerator Icon Linear Gradient (from black to white by default), from left to right. This gradient is defined by a multitude of points that can be placed arbitrarily in 2D on the layer. This makes this type of gradient a great solution to create smooth color maps quickly.

You can change the number of points and their colors, and move these points in the visualizer by activating the “edition mode”. A new point can be created inside the ViewportWorkspaceComponent Icon Viewport using CTRL+click in “edit mode”.


Variables:

  • Sharpness: Increase or decrease the sharpness of the gradient
  • Interpolator: Blend or discriminate the gradient points
  • Points: Add or substract points to the multi-point gradient
  • Border: Control the blending color and size of the outer edges of the gradient

Python

    Oil.createObject("MultiPointGradientTextureGenerator")