Browse Source

custom cubemap files order

Vinc3r 6 years ago
parent
commit
7b2b408172
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Materials/Textures/cubeTexture.ts

+ 1 - 1
src/Materials/Textures/cubeTexture.ts

@@ -125,7 +125,7 @@ export class CubeTexture extends BaseTexture {
      * @param scene defines the scene the texture is attached to
      * @param scene defines the scene the texture is attached to
      * @param extensions defines the suffixes add to the picture name in case six images are in use like _px.jpg...
      * @param extensions defines the suffixes add to the picture name in case six images are in use like _px.jpg...
      * @param noMipmap defines if mipmaps should be created or not
      * @param noMipmap defines if mipmaps should be created or not
-     * @param files defines the six files to load for the different faces
+     * @param files defines the six files to load for the different faces in that order: px, py, pz, nx, ny, nz
      * @param onLoad defines a callback triggered at the end of the file load if no errors occured
      * @param onLoad defines a callback triggered at the end of the file load if no errors occured
      * @param onError defines a callback triggered in case of error during load
      * @param onError defines a callback triggered in case of error during load
      * @param format defines the internal format to use for the texture once loaded
      * @param format defines the internal format to use for the texture once loaded