Value | Meaning |
---|---|
bgClearColor0 | Clears the background using the clear color defined in ProjectSettings.rendering/environment/defaultClearColor. |
bgColor1 | Clears the background using a custom clear color. |
bgSky2 | Displays a user-defined sky in the background. |
bgColorSky3 | Clears the background using a custom clear color and allows defining a sky for shading and reflection. This mode is slightly faster than constant BG_SKY and should be preferred in scenes where reflections can be visible, but the sky itself never is (e.g. top-down camera). |
bgCanvas4 | Displays a CanvasLayer in the background. |
bgKeep5 | Keeps on screen every pixel drawn in the background. This is the fastest background mode, but it can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera. |
bgCameraFeed6 | Displays a camera feed in the background. |
bgMax7 | Represents the size of the bgmode enum. |