For molecular modelers and researchers, visualizing complex molecular structures can often feel like navigating a dense and intricate maze. One of the most common challenges is enhancing the perception of depth within molecular renderings. When molecular regions lack a clear distinction in light and shadow, it can become difficult to analyze their structure and spatial relationships effectively. Enter ambient occlusion — a rendering effect built into SAMSON designed to tackle this very problem.
Understanding Ambient Occlusion
Ambient occlusion simulates the way light interacts with surfaces, particularly in crevices or regions where objects block natural light. By darkening less exposed areas, ambient occlusion provides an improved sense of depth — making your molecular models not only more aesthetically appealing but also easier to interpret scientifically.
In SAMSON, there are two types of ambient occlusion options:
- Screen-space ambient occlusion (SSAO): Offers a fast and efficient option, simulating depth by taking the camera’s perspective into account. While less realistic, SSAO is an excellent choice for quick visualizations.
- Object-space ambient occlusion (OSAO): Provides a more realistic and detailed simulation of light interaction but is computationally more intensive. This is ideal for high-quality renderings where accuracy is paramount.
Customizing Ambient Occlusion Settings
To adjust the ambient occlusion parameters, head to the Rendering > Ambient occlusion section of the Preferences panel. Here, you can toggle between screen-space and object-space ambient occlusion and tailor their detailed parameters.

For quick access, you can enable or disable SSAO with a single click via the Visualization > Options menu. This allows you to instantly see the impact of ambient occlusion on your molecular model.
Visual Impact of Ambient Occlusion
To demonstrate its effect, here is the Ribbons visual model of the 1AF6 molecule rendered without ambient occlusion:

Now, compare this to the same model rendered with screen-space ambient occlusion enabled:

Notice how the latter image dramatically improves the perception of depth, emphasizing the hierarchical structure of the molecule while providing a visually pleasing result. This clarity could significantly enhance professional presentations, educational materials, or scientific publications.
Getting Started with Ambient Occlusion
Whether you’re conducting molecular analysis or preparing a detailed visualization for publication, understanding and using ambient occlusion can transform the way you interact with molecular data. With SAMSON’s built-in tools, you not only gain control over this powerful rendering effect but also make your research more impactful.
To learn more and explore other rendering effects in SAMSON, visit the official documentation page here.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get started today by downloading SAMSON from SAMSON Connect.
