Skip to content

Commit

Permalink
Docs: Improve color space constant documentation (#25939)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Apr 26, 2023
1 parent e4b8f3d commit 3a1c970
Show file tree
Hide file tree
Showing 10 changed files with 35 additions and 37 deletions.
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

0 comments on commit 3a1c970

Please sign in to comment.