Displacement does not show.

Started by CCC, February 11, 2010, 04:41:33 AM

Previous topic - Next topic

CCC

I have a displacement fractal along the color marked parts of the terrain for reference, however the displacement is simply not there. I don't think it is because the layer is on the bottom. I move it up and the same thing, no displacement. What gives?

cyphyr

#1
Why are you using a "lateral only" and such a high displacement value? Have you placed a Compute Normal before the power fractal or/and the surface layer?
Richard
Ahh Coffee has kicked in, TA is completely right :)
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Tangled-Universe

You have a compute normal as displacement function.
The compute normal computes normals, it's not generating anything.
So you'll need a powerfractal which generates displacement, say lateral for example (I always choose lateral, if I use it, in the powerfractal rather than the surfacelayer). Before that powerfractal you'll need a compute normal.
The correct order to do these kind of things is like Richard described in his questions:

terrain -> compute normal/terrain -> powerfractal (lateral e.g.) -> more shaders -> compute terrain -> texture

the difference between compute normal and terrain is that a compute terrain also calculates the texture coordinates which allows you to restrict layers by height. Compute normal only calculates normals, which allows you to either displace along lateral and/or restrict by slope.

Cheers,
Martin

CCC

Always a hard time with this side of Terragen.    ;D

I have it working now, thank you much. I had to get this shader tight on that minimum altitude.   :P