Author Topic: Masking fractal warp  (Read 98 times)

Offline mhaze

  • Member
  • *
  • Posts: 3648
Masking fractal warp
« on: January 20, 2019, 05:25:34 PM »
I've been trying to mask by altitude the fractal warp shader but all it does is turn off the fractal warp.  Any help or suggestions gratefully received.

Offline Matt

  • Planetside Staff
  • *
  • Posts: 3428
  • I'm the crazy one
Re: Masking fractal warp
« Reply #1 on: January 20, 2019, 05:57:42 PM »
This will work only if the fractal warp is on a side branch, so that the main branch has already generated some displacement for the altitude constraint to be aware of. This limitation applies to all of the warp shaders that warp their main input, because the amount of warp is calculated before the main input is calculated - therefore the warp has no knowledge of the input.
« Last Edit: January 20, 2019, 06:02:30 PM by Matt »
Just because milk is white doesn't mean that clouds are made of milk.

Offline mhaze

  • Member
  • *
  • Posts: 3648
Re: Masking fractal warp
« Reply #2 on: January 21, 2019, 08:50:34 AM »
Thanks Matt

 

anything