Molecular modelers often face challenges when visualizing complex molecular structures. One frequent issue is accurately perceiving depth in intricate models, which can be critical for interpreting configurations and spatial relationships. If you’ve ever struggled with distinguishing overlapping regions in a molecule, ambient occlusion might be the solution you’ve been looking for.
What is Ambient Occlusion?
Ambient occlusion is a visual rendering technique that enhances depth perception by simulating the way light behaves in real-world environments. It highlights the areas where light is less likely to reach, such as crevices, giving these regions a darker appearance. This shadowing effect helps communicate spatial depth effectively, making molecular visualizations more straightforward and aesthetically pleasing.
Types of Ambient Occlusion in SAMSON
In SAMSON, you can choose between two types of ambient occlusion:
- Screen-space ambient occlusion: This is an efficient method that provides an approximate simulation of occlusion. While it enhances depth perception and works well in most cases, it can be sensitive to the camera distance.
- Object-space ambient occlusion: A more realistic and computationally intense solution. This method provides higher fidelity but may require more rendering time on complex molecular systems. Even so, the quicker screen-space ambient occlusion often suffices for an improved visualization experience.
How to Adjust Ambient Occlusion Settings
To modify ambient occlusion settings in SAMSON, go to the Rendering > Ambient occlusion section of the Preferences panel. Here, you can adjust parameters to fine-tune the effect according to your needs, or you can quickly toggle the screen-space ambient occlusion on or off from Visualization > Options.

Impact of Ambient Occlusion on Molecule Visualization
The following images demonstrate the power of ambient occlusion:
- Without ambient occlusion, molecular structures often lack depth, making it difficult to distinguish overlapping regions effectively:

- With screen-space ambient occlusion enabled, the depth of the molecular structure becomes immediately clearer, helping researchers focus on complex aspects of the model comfortably:

Conclusion
Ambient occlusion is a powerful tool to improve depth perception in molecular visualizations, making it easier to analyze and present your research. Depending on your requirements, you can toggle between screen-space and object-space ambient occlusion to balance visual elegance with computational requirements.
Discover how to adjust rendering settings and explore other visualization techniques in the SAMSON documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can get your free copy of SAMSON at SAMSON Connect.
