Get Altitude

Started by mhaze, January 13, 2019, 05:15:52 am

Previous topic - Next topic

mhaze

Hi All,

I'm using a stepped landscape setup but I can't find a way to limit its altitude after it.  Is there a way to get altitude then limit it with blue nodes to say Above 200 and below 1000?

Dune

Did you try a smooth step, or a clamp color/scalar and then a smooth step?

mhaze

Not Yet but I will.  As I have no idea how to go about this I'm looking for ideas.

Dune

Or you could maybe add a surface shader after it set smoothing (less than 1) until the terrain has the desired height....

Hetzen

Are you using that strata setup I made a while back?

If so, you should be able to plug the output into a Distribution shader child and mask the subtraction calculation from there.

I'm doing something similar with something I'm currently working on, unfortunately I've got stretch marks where I don't want them, so I'm going to have to think of another way. Probably a lateral displacement but I need to work with normals now and dust off the old trigonometry head.

[attachimg=1]

mhaze

I've got it sort of working with a distribution shader.  I could not get the smooth step or clamping to work.