|
@@ -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 -->
|
|
@@ -168,7 +168,7 @@
|
|
|
|
|
|
}
|
|
|
|
|
|
- function handleJPG( event ) { // PNG, too
|
|
|
+ function handleJPG( event ) { // PNG, WebP, too
|
|
|
|
|
|
function imgCallback( event ) {
|
|
|
|