One common challenge for molecular modelers is achieving a realistic visual depth in their molecular scenes. When working with intricate structures and complex data, it can sometimes be difficult to clearly distinguish the different regions of a molecule. This is where Ambient Occlusion comes to the rescue. By simulating how light behaves in deeper or less accessible areas, ambient occlusion helps to improve the perception of depth, making molecular visualization more intuitive and insightful.
What is Ambient Occlusion?
Ambient occlusion is a rendering effect that simulates how light interacts with molecules. Deeper regions of a molecule are less exposed to light and tend to appear darker. SAMSON offers two types of ambient occlusion to cater to different needs:
- Screen-space ambient occlusion (SSAO): This is an efficient and approximate method for simulating ambient occlusion. It’s important to note that it is sensitive to the viewport’s camera distance, making adjustments necessary depending on the scene and the zoom level.
- Object-space ambient occlusion (OSAO): This provides a more realistic and detailed simulation but at a slower rendering speed. Despite this, SSAO is often widely used because of its efficiency and its capability to significantly enhance depth perception.
How to Adjust Ambient Occlusion in SAMSON
Fine-tuning ambient occlusion parameters is straightforward in SAMSON. You can access the settings in the Preferences > Rendering > Ambient Occlusion panel. Options here allow you to enable or disable ambient occlusion and optimize its strength for a clear and visually appealing molecular scene.

Practical Examples: Ambient Occlusion in Action
To illustrate the impact of ambient occlusion, let’s consider a practical example with the 1AF6 molecule:
- Without Ambient Occlusion: Without this effect enabled, the deeper regions of the molecule lack visual contrast, and the overall perception of depth is reduced:
- With Screen-space Ambient Occlusion (SSAO): Enabling SSAO instantly improves depth perception, making the molecular structure more readable and visually striking:


Making Quick Adjustments
If you need to quickly toggle ambient occlusion on or off during your workflow, head over to Visualization > Options. This allows you to switch between settings effortlessly and tailor the visualization to your specific needs without diving into detailed preferences.
Why You Should Use Ambient Occlusion
By improving depth perception, ambient occlusion helps molecular modelers focus on minute details and understand spatial relationships within a complex molecular scene. Whether you’re preparing for an interactive presentation or analyzing structural data, adjusting this rendering effect can significantly enhance clarity and readability.
To learn more about all the rendering effects available in SAMSON, visit the official documentation page.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON at https://www.samson-connect.net.
