소스 검색

ProgressiveLightMap: Fix uv regression. (#27692)

Michael Herzog 1 년 전
부모
커밋
ca69555211
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      examples/jsm/misc/ProgressiveLightMap.js

+ 1 - 0
examples/jsm/misc/ProgressiveLightMap.js

@@ -45,6 +45,7 @@ class ProgressiveLightMap {
 
 			// Vertex Shader: Set Vertex Positions to the Unwrapped UV Positions
 			shader.vertexShader =
+				'attribute vec2 uv1;\n' +
 				'#define USE_LIGHTMAP\n' +
 				'#define LIGHTMAP_UV uv1\n' +
 				shader.vertexShader.slice( 0, - 1 ) +