A class containing useful rendering methods.


.renderSceneToCubemap (scene : Scene, renderer : WebGLRenderer, cubeRenderTarget : WebGLCubeRenderTarget, cameraOptions : Object) : WebGLCubeRenderTarget

Render the given scene into a cubemap. The parameters are:

.renderWorldNodeMatToCubemap (renderer : WebGLRenderer, material : MeshNodeMaterial, cubeRes : Integer, options : Object) : WebGLCubeRenderTarget

Render a world node material to a cubemap. The parameters are: The resulting render target with a cube texture in it can be used as a scene background.