Used by the CubeCamera as its WebGLRenderTarget.
See CubeCamera for examples.
1
.(optional) object that holds texture parameters for an auto-generated target texture and depthBuffer/stencilBuffer booleans.
For an explanation of the texture parameters see Texture. The following are valid options:
false
.1
. See Texture.anisotropytrue
.false
.Creates a new WebGLCubeRenderTarget.
See WebGLRenderTarget for inherited properties
See WebGLRenderTarget for inherited methods
renderer — the renderer.
texture — the equirectangular texture.
Use this method if you want to convert an equirectangular panorama to the cubemap format.
Call this to clear the renderTarget's color, depth, and/or stencil buffers.
The color buffer is set to the renderer's current clear color. Arguments default to true
.
For more info on how to obtain the source code of this module see this page.