Texture Mask based on geometry angle?

Is there a node or series of nodes that would help in creating a mask for a texture based on the angle of the geometry? Basically, I would like to create a mask that shows up on flat surfaces facing up - like the plateau of a mountain - so I can give that a different texture via a mask and a LERP. Thx!

1 Like

VertexNormalWS → ComponentMask(b).

You can also pick-apart triplanar materials and make discreet textures for the xy, xz, and yz planes, like defining the sides of a minecraft-cube.

It’s basically ‘is this vertex facing upwards?’, which you can tell from the vertex normal in a dot product with a downward vector.

But it’s much easier with the WorldAlignedBlend node :slight_smile: