Browse Source

WebP is supported, too (#24502)

WestLangley 2 years ago
parent
commit
b0f8bf8fe2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      examples/webgl_materials_matcap.html

+ 2 - 2
examples/webgl_materials_matcap.html

@@ -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 ) {