Class: CubeCamera

CubeCamera

CubeCamera is a "camera" consisting out of 6 sub-cameras to render cube maps using CubeRenderer. The cube is rendered in camera space, so if you want a world space cube map, simply do not rotate the camera.


new CubeCamera()

Properties:
Name Type Description
nearDistance number

The minimum distance to be able to render. Anything closer gets cut off.

farDistance number

The maximum distance to be able to render. Anything farther gets cut off.

Author:
  • derschmale <http://www.derschmale.com>