Skip to content

Commit

Permalink
Docs: Improve Color Management guide. (#25452)
Browse files Browse the repository at this point in the history
* Docs: Improve Color Management guide.

* Docs: Clean up.
  • Loading branch information
Mugen87 authored Feb 6, 2023
1 parent 976a3a9 commit 2dcd108
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/manual/en/introduction/Color-management.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ <h3>Output color space</h3>
</p>
</blockquote>

<p>
Custom materials based on [page:ShaderMaterial] and [page:RawShaderMaterial] have to implement their own output color space conversion.
For instances of `ShaderMaterial`, adding the `encodings_fragment` shader chunk to the fragment shader's `main()` function should be sufficient.
</p>

<h2>Working with THREE.Color instances</h2>

<p>
Expand Down
5 changes: 5 additions & 0 deletions docs/manual/fr/introduction/Color-management.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,11 @@ <h3>L'espace colorimétrique de sortie</h3>
</p>
</blockquote>

<p>
Custom materials based on [page:ShaderMaterial] and [page:RawShaderMaterial] have to implement their own output color space conversion.
For instances of `ShaderMaterial`, adding the `encodings_fragment` shader chunk to the fragment shader's `main()` function should be sufficient.
</p>

<h2>Utiliser des instances de THREE.Color</h2>

<p>
Expand Down
5 changes: 5 additions & 0 deletions docs/manual/it/introduction/Color-management.html
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,11 @@ <h3>Output color space</h3>
</p>
</blockquote>

<p>
Custom materials based on [page:ShaderMaterial] and [page:RawShaderMaterial] have to implement their own output color space conversion.
For instances of `ShaderMaterial`, adding the `encodings_fragment` shader chunk to the fragment shader's `main()` function should be sufficient.
</p>

<h2>Lavorare con le istanze di THREE.Color</h2>

<p>
Expand Down
5 changes: 5 additions & 0 deletions docs/manual/pt-br/introduction/Color-management.html
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,11 @@ <h3>Output do espaço de cores</h3>
</p>
</blockquote>

<p>
Custom materials based on [page:ShaderMaterial] and [page:RawShaderMaterial] have to implement their own output color space conversion.
For instances of `ShaderMaterial`, adding the `encodings_fragment` shader chunk to the fragment shader's `main()` function should be sufficient.
</p>

<h2>Trabalhando com instâncias THREE.Color</h2>

<p>
Expand Down

0 comments on commit 2dcd108

Please sign in to comment.