2
$\begingroup$

So I have a sample object like this. I want to make the blue-colored red parts into new material.
I'd want to do it non-destructively so I'd want to keep my modifiers. Is it possible?

.Blend file here

enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

You could add a color stripe directly into your material.

  1. Use Gradient texture and ColorRamp as a mask
  2. Add the Mapping node to control position of the stripe
  3. Use mix node to combine different shaders

enter image description here

enter image description here

$\endgroup$
5
  • $\begingroup$ Thanks for posting. Both of these do work on single color materials but I maybe simplified the sample file too much. I'd need a solution that works materials that use textures. Ideally something that works with uvmapped object. $\endgroup$
    – user79164
    Commented May 13, 2020 at 15:41
  • $\begingroup$ Hello :). Textures and UV maps work just fine with this setup. Need some help? $\endgroup$ Commented May 13, 2020 at 16:00
  • $\begingroup$ I got it working, thanks. I'll mark your answer. Would you have ideas how to make this work for non-straight edges? $\endgroup$
    – user79164
    Commented May 13, 2020 at 16:31
  • $\begingroup$ Also is there a way to make this work with two materials instead of having to combined two materials into one? $\endgroup$
    – user79164
    Commented May 13, 2020 at 16:37
  • $\begingroup$ Please post this as anew question with examples :). Non-straight edges shouldn't pose a problem. Using two materials is possible through nodegroups. $\endgroup$ Commented May 13, 2020 at 16:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .