Material Attributes + If statements - How to switch material attribute based on world height?

A basic example

In the instance

image

So in fact, you would pipe this calculation into the material attributes node.

1 Like