Skip to content

Commit d88e5f6

Browse files
authored
Docs: Improve CubeTextureLoader page. (#26169)
1 parent 6afb859 commit d88e5f6

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

docs/api/en/loaders/CubeTextureLoader.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@
1212
<h1>[name]</h1>
1313

1414
<p class="desc">
15-
Class for loading a [page:CubeTexture CubeTexture]. This uses the
16-
[page:ImageLoader] internally for loading files.
15+
[name] can be used to load cube maps. The loader returns an instance of [page:CubeTexture] and expects the cube map to
16+
be defined as six separate images representing the sides of a cube. Other cube map definitions like vertical and horizontal cross,
17+
column and row layouts are not supported.
18+
</p>
19+
<p>
20+
The loaded [page:CubeTexture] is in sRGB color space. Meaning the [page:Texture.colorSpace colorSpace]
21+
property is set to `THREE.SRGBColorSpace` by default.
1722
</p>
1823

1924
<h2>Code Example</h2>

docs/api/it/loaders/CubeTextureLoader.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ <h1>[name]</h1>
1616
Utilizza internamente l'[page:ImageLoader] per caricare i file.
1717
</p>
1818

19+
<p>
20+
The loaded [page:CubeTexture] is in sRGB color space. Meaning the [page:Texture.colorSpace colorSpace]
21+
property is set to `THREE.SRGBColorSpace` by default.
22+
</p>
23+
1924
<h2>Codice di Esempio</h2>
2025

2126
<code>

docs/api/zh/loaders/CubeTextureLoader.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ <h1>[name]</h1>
1616
内部使用[page:ImageLoader]来加载文件。
1717
</p>
1818

19+
<p>
20+
The loaded [page:CubeTexture] is in sRGB color space. Meaning the [page:Texture.colorSpace colorSpace]
21+
property is set to `THREE.SRGBColorSpace` by default.
22+
</p>
23+
1924
<h2>代码示例</h2>
2025

2126
<code>

0 commit comments

Comments
 (0)