Molecular modelers often face a significant challenge when visualizing complex molecular structures: understanding the spatial relationships and depth within their systems. Without clear depth cues, critical insights might be missed, and key details might remain obscured. This is where ambient occlusion shines—it improves spatial awareness by simulating how light interacts with deeper or less accessible regions of the molecule.
What is Ambient Occlusion?
Ambient occlusion is a rendering effect that enhances depth perception by mimicking real-world lighting conditions. In deeper regions of a molecule—such as crevices, pockets, or areas between two closely positioned atoms or residues—ambient light has limited access. Ambient occlusion replicates this phenomenon, making such regions appear darker and providing a more intuitive sense of depth.
In SAMSON, two types of ambient occlusion are available:
- Screen-space ambient occlusion (SSAO): Efficient and fast, SSAO provides approximate depth shading. Since it is camera-dependent, it is excellent for real-time interactive visualization.
- Object-space ambient occlusion (OSAO): Slower, but more realistic, OSAO delivers a higher-quality simulation, albeit at a higher computational cost. SSAO, however, is usually sufficient for most tasks.
How to Activate and Customize Ambient Occlusion in SAMSON
Activating and tweaking ambient occlusion settings in SAMSON is straightforward, and it can significantly enhance your molecular visualizations:
- Quickly turn SSAO on or off via Visualization > Options.
- For more precise control, navigate to Rendering > Ambient Occlusion in the Preferences panel.
The Preferences panel allows you to fine-tune ambient occlusion parameters and adapt them to your needs, ensuring a balance between performance and visual quality.
For instance, here is a comparison of a molecular ribbon model (1AF6) with and without enhanced depth perception:
Without ambient occlusion:

With screen-space ambient occlusion enabled:

Why Use Ambient Occlusion?
Ambient occlusion is particularly useful for molecular modelers aiming to:
- Analyze buried regions such as binding sites, enzyme pockets, or intermolecular interactions.
- Present structures in a visually compelling manner for publications or presentations.
- Quickly identify spatial relationships and depth without modifying molecular geometry or presets.
Its ability to enhance depth perception makes ambient occlusion a valuable tool for improving both scientific insight and presentation quality.
Learn More
To explore more about ambient occlusion and other powerful rendering effects in SAMSON, visit the Rendering Effects documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON at https://www.samson-connect.net.
