I’m trying to bake AO into my scene, but I can’t get it to work. Under the lightmapping settings I check the AO button but no matter what settings I use nothing happens when I generate lighting. Well, stuff happens, but there are no AO shadows rendered.
I can get AO to work if I add it as a filter to a camera, but I want to bake it and I don’t think you can do that with a camera filter.
The scene has no lights and is lit by ambient light. The mesh is made with ProBuilder and I’m using U5.6.
What can I do to get this to work?
Checking Ambient Occlusion flag in the lighting settings should work. Could you try baking your scene using Unity primitives, or other meshes and see if the issue reproduces?
I thought so too, but it does nothing. I tried adding some basic cubes but they get no AO either.
Yea I still can’t get the built in AO to work. Could use some pointers here.
Could you post your settings for the scene and also a screenshot or something? Just more info would help ![]()
Cheers!
I was about to post some settings but I managed to figure out why it didn’t work. In addition to AO and other light settings you also had to set ambient mode to baked or nothing happens when you make a light map.
This is a really good point, and something we probably should make a warning about. Thank you for pointing this out ![]()
What does this mean? “ambient mode” of what?
Not 100% sure, but I think this is referring to the “Mode” dropdown on the Directional Lights in your scene. That, and making sure that the items in the scene had their “Static” toggle checked (next to the GameObject name in the inspector) is what finally got me results.
Have you tried checking the “static” checkbox on your mesh?