Skip to content

Commit

Permalink
Docs: Fix transparency in material browser. (#23576)
Browse files Browse the repository at this point in the history
* Docs: Fix transparency in material browser.

* Docs: Update guide.

* Docs: Clean up.
  • Loading branch information
Mugen87 authored Feb 24, 2022
1 parent 922e2f6 commit ba4b34c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/manual/ar/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ <h2>المواد (Materials)</h2>
<li>morphing</li>
<li>shadow map</li>
<li>alpha test</li>
<li>transparent</li>
</ul>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions docs/manual/en/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ <h2>Materials</h2>
<li>morphing</li>
<li>shadow map</li>
<li>alpha test</li>
<li>transparent</li>
</ul>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions docs/manual/ja/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ <h2>Materials</h2>
<li>morphing</li>
<li>shadow map</li>
<li>alpha test</li>
<li>transparent</li>
</ul>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions docs/manual/ko/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ <h2>재질(Materials)</h2>
<li>morphing</li>
<li>shadow map</li>
<li>alpha test</li>
<li>transparent</li>
</ul>
</li>
</ul>
Expand Down
1 change: 1 addition & 0 deletions docs/manual/zh/introduction/How-to-update-things.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ <h2>材质(Materials)</h2>
<li>morphing</li>
<li>shadow map</li>
<li>alpha test</li>
<li>transparent</li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion docs/scenes/material-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@

const folder = gui.addFolder( 'THREE.Material' );

folder.add( material, 'transparent' );
folder.add( material, 'transparent' ).onChange( needsUpdate( material, geometry ) );
folder.add( material, 'opacity', 0, 1 ).step( 0.01 );
// folder.add( material, 'blending', constants.blendingMode );
// folder.add( material, 'blendSrc', constants.destinationFactors );
Expand Down

0 comments on commit ba4b34c

Please sign in to comment.