Saturday, September 27, 2014

Conical Gradient in UE4

I wanted a conical gradient to use for a clock wipe animation on spell cooldowns, but no matter what I tried, the compression from using textures produced unsatisfactory results. I eventually found what was needed in the VectorToRadialValue node, which I combined with what I previously learned about rotation in UDK and used it to make the gradient.
Turns out, all that rotation stuff wasn't necessary, here's the cheaper way:
Recently Epic updated their VectorToRadialValue node with a new method. This has nothing to do with me but I figured I'd update this post for the sake of completion.