Page 1 of 1

Displacement on Mix material

Posted: Tue Nov 24, 2015 11:37 pm
by papillon
I was wondering if I'm doing something wrong, but is the displacement for a Mix material driven from its tag or I can use two different displacement on the two sub-materials (in the latter case, didn't work for me) ?
Also, I noticed that the mesh is exported even if actually doesn't change. If you switch a material but the displacement map/noise it's the same, the export procedure does recalculate it. It'd be a good optimization if the displacement could be checked and computed only if it really needs to.

Re: Displacement on Mix material

Posted: Wed Nov 25, 2015 1:51 pm
by atome451
Hi Papillon,

If you use a single material, you simply use the displacement node of this material. If you use mixMaterial, you have to use the displacement of the mixMaterial, displacement nodes of attached materials will be disabled. And if you use cascading mixMaterials, you have to use the upper mixMaterial displacement node. Only one displacement node is used in a global material setup.

If you use a C4D noise or another 2D C4D shader inside a node (not only displacement), the plugin will convert it into a bitmap on the fly but the plugin will not verify if this noise has changed. That's why it takes time on each reloading : the plugin bakes it each time. If you don't want this, you may bake this noise into a bitmap. The loading will be faster.

Re: Displacement on Mix material

Posted: Wed Nov 25, 2015 3:33 pm
by papillon
Thanks a lot for the detailed explanation, and the suggestion to bake the textures so that they don't need to be recalculated. Gonna try that now ;)