Skip to content

Commit cbd51e4

Browse files
chore(docs): update default prop values for SSAO component (#277)
1 parent 1453fd1 commit cbd51e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/effects/ssao.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,37 +77,37 @@ return (
7777
<tr>
7878
<td>samples</td>
7979
<td>Number</td>
80-
<td>9</td>
80+
<td>8</td>
8181
<td>The amount of samples per pixel. Should not be a multiple of the ring count.</td>
8282
</tr>
8383
<tr>
8484
<td>rings</td>
8585
<td>Number</td>
86-
<td>7</td>
86+
<td>4</td>
8787
<td>The amount of spiral turns in the occlusion sampling pattern. Should be a prime number.</td>
8888
</tr>
8989
<tr>
9090
<td>distanceThreshold</td>
9191
<td>Number</td>
92-
<td>0.97</td>
92+
<td>1</td>
9393
<td>A global distance threshold at which the occlusion effect starts to fade out. Range [0.0, 1.0].</td>
9494
</tr>
9595
<tr>
9696
<td>distanceFalloff</td>
9797
<td>Number</td>
98-
<td>0.03</td>
98+
<td>0.0</td>
9999
<td>The distance falloff. Influences the smoothness of the overall occlusion cutoff. Range [0.0, 1.0].</td>
100100
</tr>
101101
<tr>
102102
<td>rangeThreshold</td>
103103
<td>Number</td>
104-
<td>0.0005</td>
104+
<td>0.5</td>
105105
<td>A local occlusion range threshold at which the occlusion starts to fade out. Range [0.0, 1.0].</td>
106106
</tr>
107107
<tr>
108108
<td>rangeFalloff</td>
109109
<td>Number</td>
110-
<td>0.001</td>
110+
<td>0.1</td>
111111
<td>The occlusion range falloff. Influences the smoothness of the proximity cutoff. Range [0.0, 1.0].</td>
112112
</tr>
113113
<tr>
@@ -119,13 +119,13 @@ return (
119119
<tr>
120120
<td>luminanceInfluence</td>
121121
<td>Number</td>
122-
<td>0.7</td>
122+
<td>0.9</td>
123123
<td>Determines how much the luminance of the scene influences the ambient occlusion.</td>
124124
</tr>
125125
<tr>
126126
<td>radius</td>
127127
<td>Number</td>
128-
<td>0.1825</td>
128+
<td>20</td>
129129
<td>The occlusion sampling radius, expressed as a resolution independent scale. Range [1e-6, 1.0].</td>
130130
</tr>
131131
<tr>

0 commit comments

Comments
 (0)