Molecular modelers often face the challenge of effectively perceiving depth and spatial relationships in intricate molecular structures. A simple but powerful solution to improve three-dimensional depth perception in visualizations is ambient occlusion. In this blog post, we’ll explore how SAMSON offers tools to leverage ambient occlusion for creating visually appealing and insightful molecular renderings.
Why Use Ambient Occlusion?
Ambient occlusion improves depth perception by simulating how light interacts with a structure’s geometry. Regions that are less accessible to light, such as deeper folds and crevices in molecular structures, become darker. This natural darkening enhances the visual realism and makes complex structures easier to interpret.
SAMSON supports two types of ambient occlusion:
- Screen-space ambient occlusion: This method is computationally efficient and offers an approximate simulation of depth effects. However, it is sensitive to the camera’s distance from the scene.
- Object-space ambient occlusion: While this approach is more realistic and delivers higher-quality results, it is computationally slower. Nonetheless, both methods effectively boost the perception of depth in your molecular visualizations.
Fine-Tuning Ambient Occlusion in SAMSON
Customizing ambient occlusion parameters in SAMSON is straightforward. You can control the settings through the Rendering > Ambient Occlusion section in the Preferences panel.
The intuitive interface makes it possible to:
- Enable or disable screen-space ambient occlusion with just one click from the Visualization > Options menu.
- Adjust precision parameters to balance rendering speed and visual quality, catering to your computational capabilities.
You can see these settings illustrated below:

Seeing Ambient Occlusion in Action
The true value of ambient occlusion becomes evident when applied to real-life molecular visualizations. Take the example of the Ribbons visual model for the molecule 1AF6:
Without Ambient Occlusion:

With Ambient Occlusion:

Notice how the second image brings out depth and detail, making it easier to analyze structural regions.
Quick Access for Streamlined Rendering
For users focused on efficiency, SAMSON allows toggling ambient occlusion on and off directly via the Visualization > Options menu. This feature is particularly useful for transitioning between quick drafts and polished visualizations, saving you time while working on large-scale models.
Fully utilizing ambient occlusion helps molecular modelers convey depth effectively. Designed with both efficiency and visual refinement in mind, SAMSON’s rendering options make creating professional-grade visualizations accessible to all users. To learn more about additional rendering capabilities, check out the documentation here: Rendering Effects in SAMSON.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON today at https://www.samson-connect.net.
