For molecular modelers, presenting molecular structures with clear depth perception can be crucial for analyzing complex 3D arrangements. One common challenge is that molecules, with their intricate geometries, can sometimes look flat and visually indistinct, making it harder to interpret spatial relationships. Enter ambient occlusion, a powerful rendering effect in SAMSON that significantly improves depth perception.
What is Ambient Occlusion?
Ambient occlusion is a rendering technique that adds a sense of depth to 3D structures by simulating the way light interacts with surfaces. Specifically, it darkens regions that are less accessible to light (such as grooves or overlapping areas), making them appear deeper. This is particularly effective for visualizing molecular models.
In SAMSON, two types of ambient occlusion are implemented:
- Screen-space ambient occlusion: This method efficiently provides an approximate simulation of depth, though it can be camera-distance dependent. It is fast and a great option for real-time rendering tasks.
- Object-space ambient occlusion: While more realistic, this method is slower as it provides a more accurate representation of shadowing and lighting. Even so, screen-space ambient occlusion alone can yield impressive improvements in visual depth perception.
Customizing Ambient Occlusion Settings
You can fine-tune the ambient occlusion settings in SAMSON to achieve your desired level of realism and performance. These settings are available in the Rendering > Ambient occlusion section of the Preferences panel. From here, you can adjust parameters such as the strength and radius of the effect to customize how shadows and depth are displayed on your molecular model.

If you are working on a tight deadline and need a quick toggle, you can enable or disable screen-space ambient occlusion in just one click via the Visualization > Options menu.
Why Use Ambient Occlusion in Molecular Modeling?
Consider this example showing the Ribbons visual model of the molecule 1AF6. Without ambient occlusion, the model appears flatter and less vibrant:

However, by enabling screen-space ambient occlusion, shadow effects in recessed areas are enhanced. This gives the model a striking 3D effect, where the depth and relative positions of different features are much more pronounced:

This added depth ensures that structural details are more easily interpreted, which can be critical for presentations, animations, or even day-to-day molecular design workflows.
A Simple Way to Improve Visualizations
With its ability to enhance spatial depth, ambient occlusion is a go-to method for improving the clarity and realism of molecular visualizations. Whether you’re creating professional presentations or analyzing complex systems, this feature can dramatically elevate your results with minimal effort.
To learn more about ambient occlusion and other rendering effects, be sure to explore the full documentation here: Rendering Effects Documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON here.
