Planetside Software Forums

General => Terragen Discussion => Topic started by: jackblack on November 14, 2018, 02:23:52 am

Title: Masking a Strata Shader by Altitude/Slope Angle
Post by: jackblack on November 14, 2018, 02:23:52 am
I've searched and have been unable to find any info on how to mask a strata layer using the surface lay or distribution shader settings.
Any ideas on how this is done?
Title: Re: Masking a Strata Shader by Altitude/Slope Angle
Post by: Dune on November 14, 2018, 02:33:19 am
Very simple; add your strata shader as child and limit slope or altitude in the surface layer. For altitude use final position. But for slope you need a compute normal first.
Title: Re: Masking a Strata Shader by Altitude/Slope Angle
Post by: jackblack on November 14, 2018, 08:32:03 pm
Works for you, but sadly not for me.
Title: Re: Masking a Strata Shader by Altitude/Slope Angle
Post by: WAS on November 14, 2018, 08:41:21 pm
Quote from: jackblack on November 14, 2018, 08:32:03 pm
Works for you, but sadly not for me.


You'll need to use Final Position as noted by Ulco.
Title: Re: Masking a Strata Shader by Altitude/Slope Angle
Post by: jackblack on November 14, 2018, 08:53:51 pm
Ah, somehow I missed that, thanks.