Page 1 of 1

Label material above a mix material

Posted: Thu Sep 29, 2016 9:49 am
by nicolectro
Hi everybody, i have an issue when i try to put a material containing a psd file (in an image texture node in both diffuse et opacity chanel) above a mix material (let's say a carpaint mix material from the LiveDb database). Alpha doesn't seem to work in this case. When i put a single material instead of a mix material, i have no trouble. You should say to use another mix material with the alpha in its amount but as the projection is not the same, i have a break line that appears. Is there something i've missed? is there a simple solution i don't know.
Thxs a lot.
Nico
With a simple label material (diffuse+opacity chanel) above a mix material, it doesn't work
With a simple label material (diffuse+opacity chanel) above a mix material, it doesn't work
With the same label material above a simple diffuse material, no problem
With the same label material above a simple diffuse material, no problem
With a mix material, it works but…
With a mix material, it works but…
Here you can see the break between the 2 parts
Here you can see the break between the 2 parts

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 11:38 am
by aoktar
Can you post scene with texture?

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 12:00 pm
by nicolectro
Thxs aoktar. Here is a link to a simple scene.

https://dl.dropboxusercontent.com/u/290 ... %2Bmix.zip

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 12:20 pm
by aoktar
I think your problem is to try to use stacking with mix materials. see

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 4:03 pm
by nicolectro
So i presume you mean stacking is impossible with mix material. But why? Unless it's very hard to explain, i'd like to understand ;-)
Thxs a lot

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 4:22 pm
by aoktar
nicolectro wrote:So i presume you mean stacking is impossible with mix material. But why? Unless it's very hard to explain, i'd like to understand ;-)
Thxs a lot
I don't mean that's impossible. It's not supported until now.
Implementing that in to Octane was quite hard. Because we're not a CPU renderer and we don't have any ways to create/evaluate virtual materials at run-time. So it requires pre-creation of extra special material combinations and need to handle them softly due real-time update system. It's incredible hard to me. Also adding a support for mix-materials was making that much more harder. You can unselect material and call LV/Help/Show nodegraph to see "stacked" materials which are connected to objects in Octane side.

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 8:09 pm
by nicolectro
I'm not sure i've understood but it's nice to see there is a real support. Thxs again.
Nico

Re: Label material above a mix material

Posted: Thu Sep 29, 2016 8:17 pm
by aoktar
nicolectro wrote:I'm not sure i've understood but it's nice to see there is a real support. Thxs again.
Nico
Not a problem. I hope that made some sense about difficulity