소스 검색

WebP is supported, too (#24502)

WestLangley 2 년 전
부모
커밋
b0f8bf8fe2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      examples/webgl_materials_matcap.html

+ 2 - 2
examples/webgl_materials_matcap.html

@@ -10,7 +10,7 @@
 	<body>
 	<body>
 		<div id="info">
 		<div id="info">
 			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> - webgl materials matcap<br />
 			<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>
 		</div>
 
 
 		<!-- Import maps polyfill -->
 		<!-- Import maps polyfill -->
@@ -168,7 +168,7 @@
 
 
 			}
 			}
 
 
-			function handleJPG( event ) { // PNG, too
+			function handleJPG( event ) { // PNG, WebP, too
 
 
 				function imgCallback( event ) {
 				function imgCallback( event ) {