소스 검색

WebGPUTextures: Enhance sampler cache key.

Mugen87 5 년 전
부모
커밋
5029895696
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      examples/jsm/renderers/webgpu/WebGPUTextures.js

+ 3 - 0
examples/jsm/renderers/webgpu/WebGPUTextures.js

@@ -105,6 +105,9 @@ class WebGPUTextures {
 
 		const array = [];
 
+		array.push( texture.wrapS );
+		array.push( texture.wrapT );
+		array.push( texture.wrapR );
 		array.push( texture.magFilter );
 		array.push( texture.minFilter );
 		array.push( texture.anisotropy );