Skip to content

Commit f2fdcd9

Browse files
committed
Material: Add documentation for .alphaHash
1 parent 7050247 commit f2fdcd9

File tree

5 files changed

+40
-0
lines changed

5 files changed

+40
-0
lines changed

docs/api/ar/materials/Material.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ <h3>[name]()</h3>
2626
<p>هذا ينشئ مادة عامة.</p>
2727

2828
<h2>الخصائص (Properties)</h2>
29+
30+
<h3>[property:Boolean alphaHash]</h3>
31+
<p>
32+
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
33+
The material will not be rendered if opacity is lower than a random threshold.
34+
Randomization introduces some grain or noise, but approximates alpha blending without
35+
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
36+
</p>
2937

3038
<h3>[property:Float alphaTest]</h3>
3139
<p>

docs/api/en/materials/Material.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ <h3>[name]()</h3>
2727

2828
<h2>Properties</h2>
2929

30+
<h3>[property:Boolean alphaHash]</h3>
31+
<p>
32+
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
33+
The material will not be rendered if opacity is lower than a random threshold.
34+
Randomization introduces some grain or noise, but approximates alpha blending without
35+
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
36+
</p>
37+
3038
<h3>[property:Float alphaTest]</h3>
3139
<p>
3240
Sets the alpha value to be used when running an alpha test. The material

docs/api/fr/materials/Material.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ <h3>[name]()</h3>
2929

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

32+
<h3>[property:Boolean alphaHash]</h3>
33+
<p>
34+
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
35+
The material will not be rendered if opacity is lower than a random threshold.
36+
Randomization introduces some grain or noise, but approximates alpha blending without
37+
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
38+
</p>
39+
3240
<h3>[property:Float alphaTest]</h3>
3341
<p>
3442
Définit la valeur alpha à utiliser lors de l'exécution d'un test alpha.

docs/api/it/materials/Material.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ <h3>[name]()</h3>
2929

3030
<h2>Proprietà</h2>
3131

32+
<h3>[property:Boolean alphaHash]</h3>
33+
<p>
34+
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
35+
The material will not be rendered if opacity is lower than a random threshold.
36+
Randomization introduces some grain or noise, but approximates alpha blending without
37+
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
38+
</p>
39+
3240
<h3>[property:Float alphaTest]</h3>
3341
<p>
3442
Imposta il valore alfa per essere usato quando vengono eseguiti i test alfa.

docs/api/zh/materials/Material.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ <h3>[name]()</h3>
2424

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

27+
<h3>[property:Boolean alphaHash]</h3>
28+
<p>
29+
Enables alpha hashed transparency, an alternative to [page:.transparent] or [page:.alphaTest].
30+
The material will not be rendered if opacity is lower than a random threshold.
31+
Randomization introduces some grain or noise, but approximates alpha blending without
32+
the associated problems of sorting. Using TAARenderPass can reduce the resulting noise.
33+
</p>
34+
2735
<h3>[property:Float alphaTest]</h3>
2836
<p>设置运行alphaTest时要使用的alpha值。如果不透明度低于此值,则不会渲染材质。默认值为*0*。
2937
</p>

0 commit comments

Comments
 (0)