Trying to make a Landscape Material, is there a way to know the angle? I’ve used a Component Mask to get Z but only want it to cover Hills/Bumps but not dips.
Angle can be determined with a dot product.
Dot product is essentially a measure of how similar two vectors are to each other. If you input the vector (0,0,1) into one slot, and the surface normal of the mesh into the other, it will output a value between +1 and -1 where +1 says the vector is identical (and thus is pointed up in this exanple), 0 is perpendicular and -1 is pointed down. You can use this to create a mask based on how sloped the surface is.