Hi everyone,
I’m working on a PCG graph to generate trees on my landscape, but I’m running into an issue where trees are spawning on steep slopes, such as mountainsides, where they shouldn’t logically appear.
I’ve debugged the PCG points and confirmed that the Steepness
attribute is present but doesn’t seem to change based on the actual terrain slopes.
My goal is to filter out points on steep slopes entirely so that trees only spawn on flatter terrain. Does anyone have experience with this or know how to properly calculate or filter steepness in PCG? Any advice, tips, or examples on how to remove points based on steepness would be greatly appreciated.
Thanks in advance!