2
$\begingroup$

For context, I am using Blenderkit materials here. So, I have a wall, which i have divided in two parts, the top and bottom one. enter image description here

My goal is to use the same material but change the color of the bottom part, similar to what's happening here.

enter image description here

How would i achieve this? The problem I'm running into is that if i try to create a new material and assign it to the bottom part, once I drag in the same material from Blenderkit, both become connected, so changing the bottom's color will change the top one aswell.

enter image description here

enter image description here

Here is the node setup for the material. Would appreciate some help as i run into this problem quite often!

enter image description here

Here's the file:

Edit for MoonBoots: enter image description here

$\endgroup$
4
  • $\begingroup$ As you material is UV based, it mainly depends on how the UV map is projected on the surface. Could you show it? $\endgroup$
    – lemon
    Apr 30, 2023 at 9:28
  • $\begingroup$ I edited the post but I'm not sure that's what you want me to show you. I can share the file via google doc if it's easier for you $\endgroup$ Apr 30, 2023 at 9:33
  • $\begingroup$ Yes but please prefer this link for uploading: blend-exchange.com (dont't forget to pack the texture) $\endgroup$
    – lemon
    Apr 30, 2023 at 9:34
  • $\begingroup$ I edited the post with the link $\endgroup$ Apr 30, 2023 at 9:43

4 Answers 4

2
$\begingroup$

Another possibility is simply to test the height, tuning two comparison nodes (greater and less than).

enter image description here

$\endgroup$
4
$\begingroup$

sorry for my very bad English :D. You can also use on Empty objet to create the reference for the color change. and mixte this color with your color matériel slot. It's to simplify your problem and give you un easy solution, But it's a strange bug for me ^^.

$\endgroup$
3
$\begingroup$

Hi you can use this node set-up:

  • A: control the gradient height
  • B: control the top color
  • C: control the bottom color
  • D: another way to adjust the gradient

nodes

It looks like that:

enter image description here

$\endgroup$
1
$\begingroup$

A variation of the given answers, use the Generated output of the Texture Coordinate, plug it into a Separate XYZ, use it as a factor in a Mix Color in Multiply mode:

enter image description here

$\endgroup$
7
  • $\begingroup$ Unfortunatly that setup isn't working for me, even though everything seems to be in order. I'll update the post with the node setup so you can take a look if you want! $\endgroup$ Apr 30, 2023 at 14:59
  • $\begingroup$ maybe apply the rotation of your object in Object mode? $\endgroup$
    – moonboots
    Apr 30, 2023 at 15:03
  • $\begingroup$ Still not working :/ One of the suggestions above ended up working for me, but regardless, the file is available in the post in case you want to take a look $\endgroup$ Apr 30, 2023 at 15:15
  • $\begingroup$ Could you please share the file with my solution? $\endgroup$
    – moonboots
    Apr 30, 2023 at 15:24
  • $\begingroup$ Done, thanks for taking a look $\endgroup$ Apr 30, 2023 at 15:35

You must log in to answer this question.

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