argh, can't remember where 'shade by elevation' is...

Started by shadowphile, April 17, 2010, 08:39:19 PM

Previous topic - Next topic

shadowphile

I don't mean the altitude and slope constraint settings in the distribution shader, I mean the one-click checkbox that automatically maps color between the minimum and maximum elevation present.
thanks!

ooops: apparently that function is only available to the heightmap shader.  Guess I'll have to roll my own altitude shader for power fractals.

domdib

Or use a distribution shader as blending shader??

Tangled-Universe

Quote from: shadowphile on April 17, 2010, 08:39:19 PM
Guess I'll have to roll my own altitude shader for power fractals.

I'd use a displacement shader then. Feed the powerfractal into the function-input of the displacement-shader and set the desired amount of displacement = height in the displacement shader node.

You might want to clamp the colors of the powerfractal first before feeding them into the function-input. You can do this by adding a "clamp 0-1 colour" function. Connect the output of the powerfractal to it and feed the output of the clamp 0-1 colour to the function input of the displacement shader.
This way the min and max colours are 0 - 1 and therefore the maximum displacement/height will always be the value you've set in your displacementshader.

Martin