Page 1 of 1

texture problem

Posted: Fri Nov 30, 2018 7:25 pm
by mitchino
I have modelled a hand cream tube, and created UVs for it. The tube is metal, but mainly has a printed area for graphics. I want to use two Octane materials, one for the metal and one for the printed area. I have stacked the two materials on the object and given them selections sets for where I want them to appear. They look right, but there are artefacts showing.

How do I fix this? and is there a better way to do this? If it's with a mix or blend material, how do I get the two materials to appear where I want them?

Re: texture problem

Posted: Fri Nov 30, 2018 10:53 pm
by mitchino
I've realised it's something to do with the displacement I have on the main printed area, the metal area has no displacement. So I'm assuming I have to use a mix material. How then do I restrict the different materials to different parts of the tube?

Re: texture problem

Posted: Sat Dec 01, 2018 12:19 am
by jayroth
in situations such as these, I have found that adding a displacement to the non-displaced areas will do the trick. Use a 50% gray image map and adjust your mid level to .5 for starters. You may need to mess with that a bit, but is has worked for me.

Re: texture problem

Posted: Sat Dec 01, 2018 9:23 am
by mitchino
thanks - when I woke up this morning, that solution popped into my head, will give it a try - my displacement map is black and white, but will experiment

Re: texture problem

Posted: Sun Dec 02, 2018 3:55 pm
by mitchino
So turns out this problem was not caused by using two materials, it was because my texture map had a resolution of 1396 x 1516px, and I'd set the displacement level of details to 2048x2048. I switched this to 1024x1024, i.e. lower than the texture resolution and the artefacts disappeared.

I don't understand it, but it works.