Amplify Shader
Add a Gradient Property to Amplify Shader
The gradient property is a Texture2D. This means that you need to add a Texture2D property to your amplify shader.
Add a
Texture Objectnode.Make sure it is a Property to see it in the inspector.
You must include "
GradientTexture" anywhere in the reference name (letter case doesn't matter). It is recommended to press the unlock button for the reference name and only change this to avoid messy property names.

You must also check the
Customattribute under theAttributestab.This lets you add a custom attribute. Add
GradientGUIas an attribute.

The package includes a sub function that lets you sample the gradient at float
t(clamped0-1).

Last updated