When dealing with complex molecular visualizations as a molecular modeler, one significant challenge is achieving clear depth perception. Understanding the spatial relationships between molecular regions is crucial for presentations, research, or educational purposes. In this blog post, we’ll explore how utilizing Ambient Occlusion in SAMSON can significantly improve depth perception and visualization aesthetics.
What is Ambient Occlusion?
Ambient Occlusion (AO) simulates how light interacts with molecules by darkening regions that are less accessible to light—like crevices and deeper pockets. This effect enhances the visual representation of depth and contributes to a more immersive experience.
Types of Ambient Occlusion
In SAMSON, two types of ambient occlusion are available, offering flexibility for different needs:
- Screen-space ambient occlusion: A fast and efficient approximation, highly suitable for real-time applications. However, it is sensitive to the camera’s distance from the molecule.
- Object-space ambient occlusion: More realistic but computationally demanding. It provides precise results regardless of the camera position. For most uses, even screen-space ambient occlusion delivers notable improvements in depth perception.
How to Access and Adjust Ambient Occlusion
Fine-tuning your visualization to suit your needs is simple in SAMSON:
- To make quick changes, navigate to Visualization > Options. You’ll find a toggle to enable or disable ambient occlusion.
- For detailed adjustments, go to the Rendering > Ambient Occlusion section in the Preferences panel. You can configure parameters to refine the effect for your specific visualization.
Here’s what the Ambient Occlusion Preferences panel looks like:

Visual Comparison
To understand the impact of ambient occlusion, let’s look at a comparative example. Below, you can see the Ribbons visual model of the molecule 1AF6:
Without ambient occlusion:

With screen-space ambient occlusion enabled:

Notice how the enabled ambient occlusion brings the spatial arrangement of the molecule to life, making deeper regions visually distinct and enhancing the overall comprehension of molecular structure.
Why Use Ambient Occlusion?
Adding ambient occlusion to your molecular visualizations improves visual realism and focuses the observer’s attention on key molecular features. Whether preparing for a presentation or analyzing complex data, this rendering effect ensures clarity and enhances the audience’s understanding of your work.
Learn more about rendering effects and how to enhance your visualizations in SAMSON by visiting the official documentation page.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use.
