Doc > Nodes > OBJ > CubeCamera

Doc > Nodes > OBJ > CubeCamera

Creates a CubeCamera

Description

A Cube Camera is rendering the scene 6 times, once for each side of a cube. Those renders are then combined to create a texture which can be used as environment map.

See the OBJ/CubeCamera on how to use it as a texture.

Parameters

Name Type Description
resolution integer render resolution of each of the 6 faces
excludedObjects string objects to exclude in the render
printResolve button object masks to select what will be visible in the scene
near float camera near
far float camera far
render button render button
tencoding boolean toggle on to allow updating the texture encoding
encoding integer sets the texture encoding
tminFilter boolean toggle on to allow updating the texture min filter
minFilter integer sets the texture min filter. Nearest is currently recommended to be supported on all devices.
tmagFilter boolean toggle on to allow updating the texture mag filter
magFilter integer sets the texture mag filter. Nearest is currently recommended to be supported on all devices.
keepPosWhenParenting boolean toggle on to keep world position when adding a parent or removing from one
rotationOrder integer rotation order
t vector3 translate
r vector3 rotation
s vector3 scale
scale float scale
matrixAutoUpdate boolean set for the matrix to be updated every frame