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: Add dispersion. #28058

Merged
merged 4 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/api/ar/materials/MeshPhysicalMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,14 @@ <h3>[property:Object defines]</h3>

يستخدم هذا بواسطة [page:WebGLRenderer] لتحديد المُظَهِّرات.
</p>


<h3>[property:Float dispersion]</h3>
<p>
This property can be only be used with transmissive objects, see [page:.transmission].
It defines the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume.
Any value zero or larger is valid, the typical range of realistic values is `[0, 1]`.
Default is `0` (no dispersion).
</p>

<h3>[property:Float ior]</h3>
<p>
Expand Down
8 changes: 8 additions & 0 deletions docs/api/en/materials/MeshPhysicalMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,14 @@ <h3>[property:Object defines]</h3>
This is used by the [page:WebGLRenderer] for selecting shaders.
</p>

<h3>[property:Float dispersion]</h3>
<p>
This property can be only be used with transmissive objects, see [page:.transmission].
Mugen87 marked this conversation as resolved.
Show resolved Hide resolved
It defines the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume.
Any value zero or larger is valid, the typical range of realistic values is `[0, 1]`.
Default is `0` (no dispersion).
</p>

<h3>[property:Float ior]</h3>
<p>
Index-of-refraction for non-metallic materials, from `1.0` to `2.333`.
Expand Down
8 changes: 8 additions & 0 deletions docs/api/fr/materials/MeshPhysicalMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ <h3>[property:Object defines]</h3>
Est utilisé par [page:WebGLRenderer] pour sélectionner les shaders.
</p>

<h3>[property:Float dispersion]</h3>
<p>
This property can be only be used with transmissive objects, see [page:.transmission].
It defines the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume.
Any value zero or larger is valid, the typical range of realistic values is `[0, 1]`.
Default is `0` (no dispersion).
</p>

<h3>[property:Float ior]</h3>
<p>
Indice de réfraction pour les matériaux non métalliques, de "1,0" à "2,333". La valeur par défaut est `1.5`.<br />
Expand Down
8 changes: 8 additions & 0 deletions docs/api/it/materials/MeshPhysicalMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,14 @@ <h3>[property:Object defines]</h3>
Questo viene utilizzato dal [page:WebGLRenderer] per selezionare gli shader.
</p>

<h3>[property:Float dispersion]</h3>
<p>
This property can be only be used with transmissive objects, see [page:.transmission].
It defines the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume.
Any value zero or larger is valid, the typical range of realistic values is `[0, 1]`.
Default is `0` (no dispersion).
</p>

<h3>[property:Float ior]</h3>
<p>
Indice di rifrazione per materiali non metallici, da `1.0` a `2.333`. Il valore predefinito è `1.5`.<br />
Expand Down
8 changes: 8 additions & 0 deletions docs/api/zh/materials/MeshPhysicalMaterial.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ <h3>[property:Object defines]</h3>
[page:WebGLRenderer]使用它来选择shaders。
</p>

<h3>[property:Float dispersion]</h3>
<p>
This property can be only be used with transmissive objects, see [page:.transmission].
It defines the strength of the angular separation of colors (chromatic aberration) transmitting through a relatively clear volume.
Any value zero or larger is valid, the typical range of realistic values is `[0, 1]`.
Default is `0` (no dispersion).
</p>

<h3>[property:Float ior]</h3>
<p>
为非金属材质所设置的折射率,范围由*1.0*到*2.333*。默认为*1.5*。
Expand Down
1 change: 1 addition & 0 deletions docs/examples/en/exporters/GLTFExporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h2>Extensions</h2>
<ul>
<li>KHR_lights_punctual</li>
<li>KHR_materials_clearcoat</li>
<li>KHR_materials_dispersion</li>
<li>KHR_materials_emissive_strength</li>
<li>KHR_materials_ior</li>
<li>KHR_materials_iridescence</li>
Expand Down
1 change: 1 addition & 0 deletions docs/examples/en/loaders/GLTFLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h2>Extensions</h2>
<ul>
<li>KHR_draco_mesh_compression</li>
<li>KHR_materials_clearcoat</li>
<li>KHR_materials_dispersion</li>
<li>KHR_materials_ior</li>
<li>KHR_materials_specular</li>
<li>KHR_materials_transmission</li>
Expand Down
1 change: 1 addition & 0 deletions docs/examples/zh/exporters/GLTFExporter.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ <h2>扩展</h2>
<ul>
<li>KHR_lights_punctual</li>
<li>KHR_materials_clearcoat</li>
<li>KHR_materials_dispersion</li>
<li>KHR_materials_emissive_strength</li>
<li>KHR_materials_ior</li>
<li>KHR_materials_iridescence</li>
Expand Down
1 change: 1 addition & 0 deletions docs/examples/zh/loaders/GLTFLoader.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ <h2>扩展</h2>
<ul>
<li>KHR_draco_mesh_compression</li>
<li>KHR_materials_clearcoat</li>
<li>KHR_materials_dispersion</li>
<li>KHR_materials_ior</li>
<li>KHR_materials_specular</li>
<li>KHR_materials_transmission</li>
Expand Down
1 change: 1 addition & 0 deletions examples/tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"webgl_lights_pointlights": [ "multiple" ],
"webgl_lines_fat": [ "gpu", "stats", "panel" ],
"webgl_lines_fat_raycasting": [ "gpu", "stats", "panel", "raycast" ],
"webgl_loader_gltf_dispersion": [ "transmission" ],
"webgl_loader_ifc": [ "external" ],
"webgl_loader_ldraw": [ "lego" ],
"webgl_loader_pdb": [ "molecules", "css2d" ],
Expand Down
Loading