Depth Layer / 3D Gradient
The Depth Layer (3D Gradient) lets you create gradients in the 3D space. You can control the stops of the gradient and edit the gradient from the viewport itself.
You can simulate light effects, create fake lighting and shadows, create variations of colors, or even simulate light dispersion effects, like youβd see with the light of a candle (also called Sub-Surface Scattering).
Depth Origin can be set to:
Vector β depth defined in the world space.
Camera β depth is influenced by the camera distance and angle.
Blending can be se to:
Linear β for a linear transition between the set colors.
Smooth β for a smoother transition between the set colors.
Adding and adjusting gradient stops
To add a new gradient stop, you can do so from the right sidebar by clicking anywhere on the ramp or by clicking between any of the already existing points on the viewport controls.
Removing Gradient Stops
To remove one of the stops, click and drag down until you see it outlined in red and the cursor change. Alternatively click to select it and hit delete on your keyboard.