How do I apply different shaders to different mountains?

Started by CG MANIA, January 20, 2018, 12:37:41 PM

Previous topic - Next topic

CG MANIA

How do I apply different shaders to different mountains?
When I apply a shader it affects everything, the planet. I import height field maps from World Machine and I want to apply different image maps to each mountain, otherwise the whole scene is quite monotonous.

Dune

If one mountain can be defined by a rectangular or spherical shape, you can mask all shaders needed for a particular mountain by simple shapes. If it's many shaders for each mountain, just add those all to a surface shader's child input and mask the latter. Do that for each mountain.

CG MANIA

Thank you. I manage to get the shader (red color as test) applied only to th mountain, but the edges are very harsh, is there a way to introduce some fuzziness to allow for a smother transition with the rest of the planet?

Dune

If you used a simple shape you can smooth the edges by bevel or smooth step, use some 100m or so to start with