3
$\begingroup$

So I was trying to apply a "radial" gradient on an object's front but for some reason it seems like the gradient got "stretched" and the gradient spanned across the objects and not just on a single object.

enter image description here

If you look at the screenshot, the left circle and the 2 small circles are both using the same material. The left one kinda looks about the same as what I had on the ColorRamp. But as you can see on the 2 small ones, the gradient spanned across the objects which isn't what I really wanted. The material is on the bottom

$\endgroup$
1
  • $\begingroup$ please provide blend file $\endgroup$ – Chris May 9 at 15:51
5
$\begingroup$

you did mirror your object(circle) on the x-Axis.

Therefore you moved the vertices on the x-Axis while your origin of the object is still in the world center.

so you get this:

enter image description here

you will get this, if you move slightly the x slider to the right (hold Shift while dragging)

enter image description here

to "solve" your problem, you can:

  1. apply the mirror modifier

  2. select the small circle and press tab

  3. separate by loose parts

enter image description here

  1. tab -> object mode

  2. select each circle and set origin -> to geometry

  3. set the x value in the shader back to 0

  4. and you get:

enter image description here

enter image description here

$\endgroup$
2
  • $\begingroup$ And if you don't want to apply the mirror, you could use the UV coordinate space (but then shift it by 0.5 on both axes). $\endgroup$ – Markus von Broady May 9 at 18:17
  • $\begingroup$ This approach worked for me. Shame that I have to apply the mirror, I'll just repeat the steps when needed. Thanks $\endgroup$ – rminaj May 11 at 12:30
4
$\begingroup$

When using Object coordinates the gradient will be centred on the origin of the object. Check the position of the origin of each of the objects to ensure it is centred within the geometry. If not, re-position the origin (there is a function to set origin to (centre of) geometry).

$\endgroup$
3
  • $\begingroup$ oh, I'll try that $\endgroup$ – rminaj May 9 at 14:44
  • $\begingroup$ It seems like it still didn't work $\endgroup$ – rminaj May 9 at 14:57
  • 2
    $\begingroup$ Please provide more info. In what way didn’t it work? Did it change anything? If so, what changed. It’s difficult to diagnose without more info. If all else fails, can you share your .blend file? $\endgroup$ – Rich Sedman May 9 at 15:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.