UE5 Colour Ramp Material Function [2 colours]
A Material Function for UE5 (untested in UE4) that remaps and recolours a value based on the given parameters. Inspired by Blender's Color Ramp node.
To Install: Simply drag and drop the .uasset file from the .zip folder into the appropriate folder in your UE5 project.
Demo use in a Material
Given Parameters
Value Left: Default: 0.0
0-1 value representing the min value to remap from. (everything below this will become Colour Left, and above will blend into Colour Right).
Colour Left: Default: 0,0,0 (Black)
The desired output colour for values in the Alpha at/near Value Left.
Alpha: Default: UV Channel UGradient
The 0-1 value that will determine how far left/right the blend will go.
Value Right: Default: 1.0
0-1 value representing the max value to remap from. (everything above this will become Colour Right, and below will blend into Colour Left).
Colour Right: Default: 1,1,1 (White)
The desired output colour for values in the Alpha at/near Value Right.
Install Guide
One UE5 Material Function