In this sample we start from the previous PBR example and enable real-time shadows via:

ATON.toggleShadows(true)
Depending on 3D scene extents, device, hardware capabilities, static/dynamic content and much more, ATON will select the best technique accordingly.
Powered by ATON