Epic Developer Community Forums
Seamless gradient between different textures in the same material.
Development
Programming & Scripting
Blueprint
Blueprint
,
question
,
unreal-engine
Mars007
(Mars007)
May 8, 2023, 8:55pm
5
M_Gradient8
1370×1257 130 KB
Code
if (z < 0.2) return lerp(a, b, z * 5);
if (z < 0.4) return lerp(b, c, (z-0.2) * 5);
if (z < 0.6) return lerp(c, d, (z-0.4) * 5);
return d;
You get the idea.
1 Like
show post in topic