An object containing options for the cube camera used to render the scene into the cubemap; the options and their default values are:
camPos — cube camera position
clipStart — near plane value
clipEnd — far plane value
{
camPos: new Vector3(),
clipStart: 0.1,
clipEnd: 100
}
(optional) object that holds texture parameters
for an auto-generated cube render target; has the same format
as the options parameter for the WebGLCubeRenderTarget
constructor
The resulting render target with a cube
texture in it can be used as a scene background.