That’s my first post (haven’t found presentation thread).
I’m a Blender newbie (using it for a month) and I have trouble with Ambiant Occlusion ; Basically I would the walls of my scene to be a bit dirty on the connexion of the sand so I use ambiant occlusion.
I’m trying it on the scene below (blue to highlight it now, will change color later) but the gradient with the sand is very large when it’s very small (as I want) on the sphere and wall corner.
Do you know why and how can I solve that issue ?
The sand of the room is a plane with procedural texture, may be linked ?
Nishita world.
Scene with good AO / Same scene with the sand in render :
Hi and welcome.
First try to change the ‘Distance’ parameter in AO node to check if this can solve the problem.
If not, you can post the .blend file here. It will be easier to troubleshoot.
Oh, and it is Ambi-E-nt Occlusion.
Before posting blend file here be sure to pack all textures into .blend file: “File” → “External Data” → “Pack resources”. This will include all your bitmaps and textures inside the .blend file.
Thank you for your help ! I tried a .2 on the distance and this is working well except that AO behave differently between the sand junction and the sphere/wall junction. Any clue on that ?
Also, closer you come to the junction darker it should become, and here is not the case between sand and wall.
The AO on the wall is behaving quite normal and you did a good job on that part.
But if you mean about different amount of AO falloff ‘shadow’ generated in two places - that pretty much depend on the geometry itself. That includes the shapes itself and the sizes of the meshes. AO falloff is calculated automatically and there is not much you can do aside from playing with Distance parameter, or plugging into it modes that can drive it.
However there are ways to control AO around the sphere and AO around the sand separately, but they are not very straightforward nor they are identical.
Well the AO will always be more pronounce in places with a lot concave geometry - like the area between the sphere and the angled front wall. That pretty much won’t change no matter the settings, as I wrote there are ways to overcome this with mixing two AO with different values, but that involves creating masks between different parts of the geometry.
AO do not detects mesh intersections, but closest point (kind of) to other parts of the mesh/meshes. That’s why the area between the sphere and angled wall is ‘darker’.
See this for example: