NOTE: This version of the documentation tracks unstable development happening on A-Frame’s
masterbranch. If you wish to try it out, grab the unstable build. Otherwise, head to the documentation for the current 0.7.0 version
The background component defines the background of a scene. It is more performant than
a-sky since geometry is not created. There are no undesired frustum culling issues when
a-sky is further than the far plane of the camera. There are no unexpected oclussions either with far objects that might be behind of the sphere geometry of
The example below sets the background color to red.
Given the fog distribution type, different properties will apply.
|color||Color of the scene background.||black|
|transparent||Background is transparent. The color property is ignored.||false|