Capítulo 219 de 859
This class can be used to automatically save the depth information of a cube rendering into a cube texture with depth format. Used for PointLight shadows.
Constructor
| Signature |
|---|
new CubeDepthTexture( size : number, type : number, mapping : number, wrapS : number, wrapT : number, magFilter : number, minFilter : number, anisotropy : number, format : number ) |
Properties
| Property | Description |
|---|---|
.images : Array.<Image> | Alias for CubeDepthTexture#image. |
.isCubeDepthTexture : boolean (readonly) | This flag can be used for type testing. |
.isCubeTexture : boolean (readonly) | Set to true for cube texture handling in WebGLTextures. |