RenderUtils

A class containing useful rendering methods.

Methods

.renderWorldNodeMatToCubemap (renderer, material, cubeRes) : WebGLRenderTargetCube

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.