Global illumination (GI) enhances lighting and depth perception in 3D scenes through ambient occlusion and emissive lighting.

  • Ambient occlusion darkens areas where surrounding geometry blocks ambient light, adding definition to corners, crevices, and spaces between buildings.
  • Emissive lighting illuminates surfaces near emissive materials. The illumination depends on the emitters’ strength and color, as well as their distance from the surfaces they illuminate.

This sample showcases global illumination in a city scene, with overview and close-up viewpoints for exploring lighting at different scales. Four presets combine each viewpoint with daytime or nighttime lighting. The Day/Night switch changes lighting (daytime), the basemap and enables/disables emissive materials. Daytime uses the topographic basemap, while nighttime uses dark gray canvas. Both retain the same 3D buildings and trees.

Set view.environment.lighting.globalIllumination = true to enable global illumination. In the sample app, use the Global illumination toggle to compare and observe its effects. Look for changes on building façades, in spaces between buildings, and on surfaces near emissive symbols.

The Emissive materials toggle controls light emission from the transit symbols. Notice their illumination of nearby surfaces, particularly visible at night. See the Visualizations with light-emitting symbols sample for more details on configuring emissive materials.

The Glow toggle enables the glow effect, which adds a halo to make emitters appear brighter. When global illumination is enabled, glow also increases their emissive lighting contribution.

Global illumination is currently in beta.

3DDaylightrealisticEnvironmentLightingShadowSunLightingviewOnReadyarcgis-daylightarcgis-expandarcgis-navigation-togglearcgis-scenearcgis-weatherarcgis-zoommap-componentscalcite-buttoncalcite-iconcalcite-labelcalcite-switchcalcite-components5.2