Jelajahi Sumber

Merge pull request #5927 from Vinc3r/master

custom cubemap files order
David Catuhe 6 tahun lalu
induk
melakukan
35f2136f55
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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 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 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 onError defines a callback triggered in case of error during load
      * @param format defines the internal format to use for the texture once loaded