Skip to content

Commit

Permalink
Material: Add documentation for .alphaHash (mrdoob#26664)
Browse files Browse the repository at this point in the history
  • Loading branch information
donmccurdy authored Sep 5, 2023
1 parent 6b1a9e4 commit ec325ca
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/api/ar/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ <h3>[name]()</h3>
<p>هذا ينشئ مادة عامة.</p>

<h2>الخصائص (Properties)</h2>

<h3>[property:Boolean alphaHash]</h3>
<p>
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
The material will not be rendered if opacity is lower than a random threshold.
Randomization introduces some grain or noise, but approximates alpha blending without
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
</p>

<h3>[property:Float alphaTest]</h3>
<p>
Expand Down
8 changes: 8 additions & 0 deletions docs/api/en/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ <h3>[name]()</h3>

<h2>Properties</h2>

<h3>[property:Boolean alphaHash]</h3>
<p>
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
The material will not be rendered if opacity is lower than a random threshold.
Randomization introduces some grain or noise, but approximates alpha blending without
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
</p>

<h3>[property:Float alphaTest]</h3>
<p>
Sets the alpha value to be used when running an alpha test. The material
Expand Down
8 changes: 8 additions & 0 deletions docs/api/fr/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ <h3>[name]()</h3>

<h2>Propriétés</h2>

<h3>[property:Boolean alphaHash]</h3>
<p>
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
The material will not be rendered if opacity is lower than a random threshold.
Randomization introduces some grain or noise, but approximates alpha blending without
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
</p>

<h3>[property:Float alphaTest]</h3>
<p>
Définit la valeur alpha à utiliser lors de l'exécution d'un test alpha.
Expand Down
8 changes: 8 additions & 0 deletions docs/api/it/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ <h3>[name]()</h3>

<h2>Proprietà</h2>

<h3>[property:Boolean alphaHash]</h3>
<p>
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
The material will not be rendered if opacity is lower than a random threshold.
Randomization introduces some grain or noise, but approximates alpha blending without
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
</p>

<h3>[property:Float alphaTest]</h3>
<p>
Imposta il valore alfa per essere usato quando vengono eseguiti i test alfa.
Expand Down
8 changes: 8 additions & 0 deletions docs/api/zh/materials/Material.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ <h3>[name]()</h3>

<h2>属性(Properties)</h2>

<h3>[property:Boolean alphaHash]</h3>
<p>
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
The material will not be rendered if opacity is lower than a random threshold.
Randomization introduces some grain or noise, but approximates alpha blending without
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
</p>

<h3>[property:Float alphaTest]</h3>
<p>设置运行alphaTest时要使用的alpha值。如果不透明度低于此值,则不会渲染材质。默认值为*0*。
</p>
Expand Down

0 comments on commit ec325ca

Please sign in to comment.