Ramp 4 Corners
A four-point linear value ramp (gradient) generator.
Parameter Types
Parameter descriptions
Top leftThe top-left value of the four-point interpolation.
Top rightThe top-right value of the four-point interpolation.
Bottom leftThe bottom-left value of the four-point interpolation.
Bottom rightThe bottom-right value of the four-point interpolation.
Texture CoordinatesThe 2D coordinate at which the data is read for mapping the texture onto a surface. The default is to use the current UV coordinates, in which U is the horizontal axis and V is the vertical axis.
Discussion
This node uses bilinear interpolation to create a ramp from four corner values. Any point within the output ramp is a mix of one of the four corner values. A given point is more similar to a corner value the closer its position is to that corner. Below is a an example of a simple node graph that uses Ramp 4 Corners to create a gradient with four different colors:
[Image]
The image below shows the resulting texture along with the color values on each corner:
[Image]