For molecular modelers, visualizing structures with realistic depth and clarity is essential. However, achieving an accurate perception of depth in dense molecular assemblies can be challenging with standard rendering techniques. SAMSON’s ambient occlusion settings offer a solution to this pain point by simulating how light behaves in shaded or occluded regions, providing a more realistic and informative view.
What is Ambient Occlusion?
Ambient occlusion is a rendering effect that enhances depth perception by darkening regions of a scene that are occluded or less exposed to light. In molecular modeling, this means visually emphasizing the deeper grooves, pockets, or overlapping regions in structure models, making it easier to interpret their spatial arrangement.

Two Ambient Occlusion Methods in SAMSON
SAMSON provides users with two types of ambient occlusion:
- Screen-space Ambient Occlusion (SSAO): This is an efficient, approximate method that works well for most projects. Its computational performance makes it suitable for real-time applications, but it can be sensitive to the camera’s distance from the molecular structure.
- Object-space Ambient Occlusion (OSAO): This method is more computationally intensive but offers a higher level of accuracy. It is ideal for critical rendering tasks that demand a realistic depth simulation.
Even the fast and less resource-intensive SSAO greatly improves depth perception and can be sufficient for most visualization needs.
When and Why to Use Ambient Occlusion
Ambient occlusion is particularly useful when:
- You’re analyzing molecular structures where details like pockets or cavities need to stand out clearly.
- Rendering dense molecular assemblies, where depth plays a critical role in distinguishing individual parts.
- Creating visual presentations that require photorealistic rendering of molecular data for audiences or stakeholders.
With SAMSON, enabling ambient occlusion is a straightforward way to add depth, realism, and clarity to your renderings, transforming your viewing experience without modifications to the actual molecular structure data.
How to Adjust Ambient Occlusion in SAMSON
To customize ambient occlusion settings in SAMSON:
- Open the Preferences panel by navigating to Interface > Preferences or using the shortcut Ctrl + K on Windows/Linux, or Cmd + , on Mac.
- Go to the Rendering > Ambient Occlusion section.
- Select your preferred ambient occlusion mode (Screen-space or Object-space) and tweak the settings as needed.
Visual Benefits of Ambient Occlusion
Adding ambient occlusion to your renderings creates a noticeable improvement in visual output. Details that might have been previously obscured can become discernible, and the overall structure gains a tangible and lifelike appearance. Both SSAO and OSAO are tools you can use to tailor the visuals based on your computational resources and project scope.
To get started and optimize your molecular visualization workflows, visit the full SAMSON Preferences documentation.
SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON by visiting SAMSON Connect.
