Painted shaders and heightfields

Started by Xenonnoble28, January 21, 2015, 02:52:54 PM

Previous topic - Next topic

Xenonnoble28

Hey guys, I'm wondering if you might help me out with an issue I'm having.

I'm trying to get a heightfield island I've made to take the inverse shape of the painted shader I've drawn but I can't seem to get it to work.

The issue is that the base Alpine fractal already has a heightfield which follows a different painted shader to create the flat area that the island is sitting it, and it's using the input node.

Any suggestions?

Cheers,

- Clayton

TheBadger

A distribution shader will allow data to pass through it unaffected by the shaders intended use, and also has its own invert, to reverse the effect of the primary nodes invert without effect that node. Simply plug in a distribution shader node into that branch that has the input you want to use for two things.

This works well, but there can be a limit to how many time you can do this to the same input. Depending on what effects you are trying to use, how, and how many. But it should work for you here.

Hope that helps.

related
http://www.planetside.co.uk/forums/index.php/topic,19496.0.html?PHPSESSID=fdcc073f924ae32981fa0b1f088ebecd
http://www.planetside.co.uk/forums/index.php/topic,19500.0.html?PHPSESSID=fdcc073f924ae32981fa0b1f088ebecd
It has been eaten.