Ambient occlusion image - Cannot get ambientTexture to work

I cannot get an ambient occlusion image file to work on a mesh. Can anyone please help me understand what is wrong? I’ve spent forever on it but cannot figure it out:

Additionally I tried hooking up an ambient occlusion image to the metallic of an mesh (“smallFloor” under the monkey). Then I tried reassigning it to the ambientTexture but that doesn’t work either.

You can use:

    material.lightmapTexture = texture
    material.useLightmapAsShadowmap = true

If you want to use ambientTexture you need to light your scene properly:

1 Like