Planetside Software Forums

General => Terragen Discussion => Topic started by: Pentagular Dark on May 11, 2011, 08:25:22 PM

Title: Strata Outcrops help?
Post by: Pentagular Dark on May 11, 2011, 08:25:22 PM
I'm making a desert in terragen 2 and I can't get the Strata only on the slopes without completely removing them.

Any suggestions?  ???
Title: Re: Strata Outcrops help?
Post by: Henry Blewer on May 11, 2011, 10:45:19 PM
You can use the 'Blend by shader' at the bottom of the strata control. A simple way is to use a power fractal with the right scale and lead-in scale. A better way is to use the Distribution shader. This also has a 'Blend by shader', and offers very good control.
Title: Re: Strata Outcrops help?
Post by: Pentagular Dark on May 12, 2011, 06:04:53 PM
I was using a distribution shader alone, I also tried surface layers. Thats were my problem is.
Title: Re: Strata Outcrops help?
Post by: Matt on May 16, 2011, 09:28:45 AM
The slope controls in the Distribution Shader or Surface Layer need the surface normal to have been calculated somewhere higher up the chain. This is usually done with the Compute Terrain node. In a standard setup this means that any shaders in the Shaders layout will have a calculated normal, but anything in the Terrain layout won't. If you need slope information before the Compute Terrain, you can use a Compute Normal node. However, this increases the time needed to calculate shaders above the Compute Normal by a factor of 3.
Title: Re: Strata Outcrops help?
Post by: Pentagular Dark on May 17, 2011, 09:53:02 PM
Hmmm... I'll try that, mabye I'll find something else.

EDIT: Actually you only need to plug the terrain you need into the distribution shader's input node and set the slope key to Final Normal. No second compute needed!