How to Filter Out Steep Slopes in PCG to Prevent Tree Spawning?

Hey Kenny, I had the same problem and I found that you can use the rotation attribute to achieve that effect, basically the idea is that you want to keep only elements that are in a given range of rotation.
We don’t care about the yaw for our purpose :

So a very basic setup is just to use 4 attribute filters with the maximum and minimum pitch and yaw

For instance if we want anything on a slope above 30 degrees to stop spawning, you can set up the first roll filter like this

The second like this :

And do the same for the pitch filters.

Hope this helps !