Skybox
A solid-color background for the scene. The color is set on the live skybox, so animating it is cheap.
rememberFilamentScene {
Skybox(color = LinearColor(0.05f, 0.05f, 0.08f))
}A scene has one skybox: declare one Skybox (or one Environment) per scene.
Parameters
Linear background color.
Background alpha; below 1 only shows through a transparent view.
Draw the sun disk of the scene's SunLight.
Skybox intensity, used only while the scene has no IndirectLight.
Draw-order priority of the skybox.
A cubemap background for the scene, e.g. the Environment.skybox of a loaded environment or a cubemap of your own. Renders nothing while texture is null (still loading).
Parameters
The cubemap to draw, or null while it loads.
Draw the sun disk of the scene's SunLight.
Skybox intensity, used only while the scene has no IndirectLight.
Draw-order priority of the skybox.