Page 1 of 1

Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 9:35 am
by decade
Hi there, my goal is to have snow and rocks, mixed by the Falloff node so that the snow applies to the flat surfaces & the rock to the steep surfaces.
The problem I have is with the displacment: I can find no way to have this work correctly for displacment.

I did some research & I understand that the Displacment node will accept only a pure Texture.
So I used a pure black PNG where I wanted no displacment & then ran my mix node through a Baking Texture node.
But unfortunately, it seems the Baking Texture node cannot bake the effect of the Falloff node - when I tried a Checker node for the 'Amount' value, it works properly via the Baking node.

Below I have illustrated my problem. I am connecting to displacment, just so it is easy to visualise but my real aim is to connect to the Displacment node, so I need the correct result out of the Baking node.
Displacment Mix.jpg

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 9:40 am
by aoktar
When you use somethings with baking, It will sample shaders in uv-space. But falloff is normal based, not uv-mapping. So It's like rendering it over a 2d-plane without considaring the face normals.

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 9:44 am
by decade
So there is no way at all to have displacment masked by slope ?
Do you know any workarounds ?

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 10:16 am
by aoktar
decade wrote:So there is no way at all to have displacment masked by slope ?
Do you know any workarounds ?
I gave you the logic. You can render the mask from top view as a bitmap and apply.

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 11:01 am
by decade
OK, it's not great for my workflow but I know this is an Octane limitation not a plugin limitation.
Thanks for your help.

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 11:09 am
by aoktar
decade wrote:OK, it's not great for my workflow but I know this is an Octane limitation not a plugin limitation.
Thanks for your help.
It's not a limitation, it's the logic of baking systems.

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 11:29 am
by decade
I mean the limitation of displacment only accepting pure texture & not having any nodes to handle slope masking for displacment.
We are waiting on a proper displacment mix node.

Re: Mix Displacment with Falloff node

Posted: Thu Sep 27, 2018 6:01 pm
by TonyBoy
I have never dealt with your problem, but it occurs to me that a height map or AO map may be used to create vertice maps for masking, one for rock and one for snow.