---
title: Ramp 4 Corners
framework: shadergraph
role: symbol
role_heading: ShaderGraph Node
path: shadergraph/2d-procedural/ramp-4-corners
---

# Ramp 4 Corners

A four-point linear value ramp (gradient) generator.

## Parameter Types

Parameter Types Parameter descriptions 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:

The image below shows the resulting texture along with the color values on each corner:

## See Also

### Nodes

- [Ramp Horizontal](shadergraph/2d-procedural/ramp-horizontal.md)
- [Ramp Vertical](shadergraph/2d-procedural/ramp-vertical.md)
- [Split Horizontal](shadergraph/2d-procedural/split-horizontal.md)
- [Split Vertical](shadergraph/2d-procedural/split-vertical.md)
- [Noise 2D](shadergraph/2d-procedural/noise-2d.md)
- [Cellular Noise 2D](shadergraph/2d-procedural/cellular-noise-2d.md)
- [Worley Noise 2D](shadergraph/2d-procedural/worley-noise-2d.md)
