Skip to content

r3f-xr-widgets / Skybox

Function: Skybox()

Skybox(props): Element

Defined in: src/components/Skybox.tsx:25

A simple skybox for VR environments using a box geometry with solid color

For image-based skyboxes, use CubemapSkybox instead which supports WebXR's native XRCubeLayer for optimal VR rendering.

Parameters

props

SkyboxProps

Returns

Element

See

CubemapSkybox for image-based skyboxes with XRCubeLayer support

Released under the MIT License.