A molecular scene can contain all the right structural information and still be difficult to read. Atoms and ribbons overlap, layers seem to merge, and it can be hard to tell which parts are near the camera or positioned behind something else. This is a common visualization problem: the model may be correct, but the cues that help our eyes interpret depth are weak.
In SAMSON, a few real-time rendering effects can make these relationships easier to see. Ambient occlusion adds shading in less accessible regions, shadows clarify relative positions, and silhouettes help separate regions at different depths. Used with restraint, these effects can improve readability without changing the molecular structure itself.
Start with ambient occlusion
Ambient occlusion makes deeper, less light-accessible regions darker. This creates local shading that can help reveal folds and overlaps in a molecular model. SAMSON provides screen-space and object-space ambient occlusion. Screen-space ambient occlusion is an efficient approximation, though its appearance is sensitive to camera distance. Object-space ambient occlusion is more realistic but slower.
For a quick first test, switch on screen-space ambient occlusion from Visualization > Options. Compare the scene before and after, especially where ribbons or other structural features overlap. The goal is not simply to make the model darker; it is to make depth relationships easier to distinguish.


Use shadows to judge positions
Shadows are especially useful when you need to understand the relative position of a molecule and a nearby surface or structure. Without them, two objects may appear to touch or overlap even when they are separated in three-dimensional space. With shadows enabled, the visual relationship can become easier to interpret.
A useful check is to compare the scene with shadows off and on, rather than judging the effect in isolation. The documentation’s example shows 1YRF in relation to a graphene sheet: shadows make the relative positions easier to perceive. If performance becomes a concern, particularly on an older graphics card, try a lower shadow preset or disable the effect.


Add silhouettes when boundaries get lost
Silhouettes make it easier to separate regions with different depths. They can be helpful when a ribbon model’s edges blend into nearby parts of the structure. In SAMSON, silhouette settings are available under Interface > Preferences > Rendering > Silhouettes, and the effect can also be toggled from Visualization > Options. The documented example uses the Ribbons visual model for 1YRF with silhouette thickness set to 1.

A practical sequence
- Identify the ambiguity. Is the problem overlapping regions, unclear separation from a surface, or indistinct boundaries?
- Try one effect at a time. Start with screen-space ambient occlusion for local depth, shadows for relative positions, or silhouettes for boundaries.
- Compare before and after. Keep an effect only if it makes the relationship you care about easier to read.
- Check responsiveness. Anti-aliasing and some rendering effects require additional GPU work; simplify or lower settings if navigating a large system becomes slow.
These effects change the viewport’s appearance, not the underlying molecular model. They are useful while exploring or preparing a clear interactive view. For a final-quality offline render, use SAMSON’s rendering workflow instead. For detailed controls, see the Rendering effects documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
