Semi-Circle Radial Gradient

Hello everyone,

Back with another noob question.

I have discovered a process that allows me to create a radial gradient within a material, using VectorRadial etc…

It works fine, but how I go about using just a semi circle? As in half the circle being equal to 1 and not 0.5

What about?:

It’s kind of hard to understand what you need. Can you show an approximate image of what you want?

I mean a semi-circle like such:

http://https://reactnativeexample.com/content/images/2020/05/civ.png

A semi circle like such

Hmm, that I would do with a texture :wink:

Circular progress bars:

I’m pretty sure it may be done easier, but here’s how I managed to make it fully procedurally:

Then you change the Threshold value from 0 to 0.5 and you have this:

311586-radgrad.gif

Remove the generated band and change the Threshold from 0 to 1, and you’ll have a full circle instead.

2 Likes

One important addition: the TexCoord is [1, -1]; [1, 1] doesn’t work.

And the Mask after the VectorToRadialValue node is unnecessary, it already returns a grayscale value.