XGEN: how to drive the density with a ambient occlusion


#1

I am scattering leafs on a road with xgen. To get more leafs at the side of the road and around trees i would like to connect a ambient occlusion (vraydirt) to the density.

Does anyone know how to to it?

I can use a map to control the density. But how to use the vraydirt.


#2

You need to bake a texture into the uvs.