Skip to content

Presentation

Presentation reads a context's simulation and displays it. It does not calculate a second authoritative clock, solar position, or phase schedule. Start from the combined prefab or bind the separate Presentation prefab to a context using Explicit group binding.

Assemble a presentation

  1. Check the context's module status and profiles first.
  2. Bind a TunalPresentationGroup to that context. A controlling enabled group overrides individual PresentationBehaviour context references.
  3. Configure Sky, lighting, stars and environment, and optional clouds.
  4. Confirm rendering-path requirements and test in Play Mode through the real Game camera.
Component Responsibility
SkyController Runtime sky material, Sun/Moon visual inputs, phase palettes, stars/cloud shader handoff
CelestialLightController One shared directional light with solar/lunar handoff
SunLightController, MoonLightController Separate light-controller alternative; never compete for the same Light
StarController Star visibility, tint/intensity, equatorial orientation supplied to the sky
EnvironmentController Scene fog color and ambient settings
CloudController Live cloud appearance/weather and wind state
VolumetricCloudRenderer Optional Ultra cloud GPU rendering for eligible cameras

Some controllers use sensible fallback presentation without every optional simulation module, but availability is component-specific. Check its Inspector diagnostics rather than assuming a sky needs the entire framework or that a missing Lunar module cannot affect Moon output.

Multiple contexts

Contexts can simulate independently while only one presentation owns scene-global sky/ambient settings. The context switcher deactivates all presentation rigs before activating the selected one. This avoids simultaneous controllers writing the same RenderSettings; it does not create isolated per-context global rendering environments.

Presentation components can run in edit mode, but an editor preview is not evidence that a Game-camera depth path or target platform is correct. Keep your own controllers' binding and release behavior explicit when extending presentation.