Skip to content

Commit

Permalink
WebP is supported, too (mrdoob#24502)
Browse files Browse the repository at this point in the history
  • Loading branch information
WestLangley authored and abernier committed Sep 16, 2022
1 parent a2764bd commit 27d454d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/webgl_materials_matcap.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<div id="info">
<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl materials matcap<br />
Drag-and-drop JPG, PNG, or EXR MatCap image files<br/>
Drag-and-drop JPG, PNG, WebP, or EXR MatCap image files<br/>
</div>

<!-- Import maps polyfill -->
Expand Down Expand Up @@ -168,7 +168,7 @@

}

function handleJPG( event ) { // PNG, too
function handleJPG( event ) { // PNG, WebP, too

function imgCallback( event ) {

Expand Down

0 comments on commit 27d454d

Please sign in to comment.