Author Topic: Masking a Strata Shader by Altitude/Slope Angle  (Read 226 times)

Offline jackblack

  • Member
  • *
  • Posts: 72
Masking a Strata Shader by Altitude/Slope Angle
« on: November 14, 2018, 06: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?

Offline Dune

  • Member
  • *
  • Posts: 14974
    • www.ulco-art.nl
Re: Masking a Strata Shader by Altitude/Slope Angle
« Reply #1 on: November 14, 2018, 06: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.

Offline jackblack

  • Member
  • *
  • Posts: 72
Re: Masking a Strata Shader by Altitude/Slope Angle
« Reply #2 on: November 15, 2018, 12:32:03 AM »
Works for you, but sadly not for me.

Offline WASasquatch

  • Member
  • *
  • Posts: 3108
  • The Homeless Landscape Artist
Re: Masking a Strata Shader by Altitude/Slope Angle
« Reply #3 on: November 15, 2018, 12:41:21 AM »
Works for you, but sadly not for me.

You'll need to use Final Position as noted by Ulco.
Art can be a window into the soul

Offline jackblack

  • Member
  • *
  • Posts: 72
Re: Masking a Strata Shader by Altitude/Slope Angle
« Reply #4 on: November 15, 2018, 12:53:51 AM »
Ah, somehow I missed that, thanks.

 

anything