Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Improve color space constant documentation #25939

Merged
merged 1 commit into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions docs/api/en/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,15 @@ <h2>Revision Number</h2>

<h2>Color Spaces</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>[page:NoColorSpace] defines no specific color space.</p>
<p>
[page:NoColorSpace] defines no specific color space. It is commonly used
for textures including normal maps, roughness maps, metalness maps,
ambient occlusion maps, and other non-color data.
</p>
<p>
[page:SRGBColorSpace] (“srgb”) refers to the color space defined by the
Rec. 709 primaries, D65 white point, and nonlinear sRGB transfer
Expand Down
7 changes: 3 additions & 4 deletions docs/api/en/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -601,10 +601,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of
Expand Down
6 changes: 3 additions & 3 deletions docs/api/fr/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ <h2>Numéro de révision</h2>

<h2>Espaces colorimétriques</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
[page:NoColorSpace] ne définit aucun espace colorimétrique spécifique.
Expand Down
7 changes: 3 additions & 4 deletions docs/api/fr/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of the renderer).<br /><br />
Expand Down
6 changes: 3 additions & 3 deletions docs/api/it/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ <h2>Numero di Revisione</h2>

<h2>Spazi Colore</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
[page:NoColorSpace] non definisce uno spazio colore specifico.
Expand Down
7 changes: 3 additions & 4 deletions docs/api/it/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of the renderer).<br /><br />
Expand Down
7 changes: 3 additions & 4 deletions docs/api/ko/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -533,10 +533,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of the renderer).<br /><br />
Expand Down
6 changes: 3 additions & 3 deletions docs/api/pt-br/constants/Core.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ <h2>Número de Revisão</h2>

<h2>Espaço de Cores</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
[page:NoColorSpace] não define nenhum espaço de cor específico.
Expand Down
7 changes: 3 additions & 4 deletions docs/api/pt-br/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of the renderer).<br /><br />
Expand Down
7 changes: 3 additions & 4 deletions docs/api/zh/constants/Textures.html
Original file line number Diff line number Diff line change
Expand Up @@ -528,10 +528,9 @@ <h2>Depth Packing</h2>

<h2>Color Space</h2>
<code>
THREE.NoColorSpace
THREE.SRGBColorSpace
THREE.LinearSRGBColorSpace
THREE.DisplayP3ColorSpace
THREE.NoColorSpace = ""
THREE.SRGBColorSpace = "srgb"
THREE.LinearSRGBColorSpace = "srgb-linear"
</code>
<p>
Used to define the color space of textures (and the output color space of the renderer).<br /><br />
Expand Down