Fake stones shader

Started by kaedorg, May 11, 2014, 12:01:06 PM

Previous topic - Next topic

kaedorg

Need your help guys

I'm making a winter scene with snow (I'm quite happy with the snow surface layer)
I also have several fake stone shaders.
The snow layer is the last (bottom) on the list of the shader section.
The fake stones shaders are coloured by a power fractal shader (each has its own)
But what I'd like and would be some snow on top of the fake stones.
I tried by replacing the PFS by a surface layer (using max slope limitation), it doesn't work at all.
I tried by masking the PFS with a distribution shader (using max slope), it works but I lose the original colours of the fake stones (not satisfied)
I tried a merge but I need to handle the slope for just the top of the fake stones

So If anyone already found the solution, it could be more than useful and could be applied to other ideas as moss on fake stones
I precise fake stones shaders are in the shader section

Thanks for your help

David

Dune

What if you add a surface shader under the merged stones shader, before going into the child input of the surface shader (I guess that's what you do) with a slope restraint?

kaedorg

Thanks Ulco

In fact, I found my issue. The surface layer (used as surface shader of the fake stones shader)
had intersect underlying checked in the effect tab and after a test i saw it broke the fate stone effect.

Now i just have to find the correct numbers, I work on it

David