True once destroy() has been called.
When true, RenderManager will render this sky each frame before scene geometry.
Below-horizon ground color.
Angular width of the horizon blend band (elevation units, ~0–1). Default 0.15.
Horizon color.
True once init() has successfully allocated resources.
Sky zenith color.
Angular diameter of the sun disc in degrees.
Sun disc and corona color.
World-space direction toward the sun (need not be normalized).
Whether to render a sun disc and glow.
Peak intensity of the sun glow.
Glow falloff exponent. Higher = tighter glow around the sun disc.
World-space "up" direction. Matches the Scene's CoordinateSystem.worldUp.
Default is [0,0,1] (Z-up), matching the Scene default.
Frees all GL resources owned by this renderer. Safe to call more than once.
Allocates GL resources and compiles shaders.
Safe to call more than once; subsequent calls are no-ops after successful initialization.
Renders one frame of the sky for the given view.
Called by RenderManager when enabled is true, before scene geometry.
Procedural sky renderer for xeokit V3.
Integrated into RenderManager and drawn once per frame via
render(viewRenderState)when enabled is true.Features:
The sky is drawn as a fullscreen quad before any scene geometry, so it always appears as the background regardless of scene content.