Explorar el Código

WebGPUTextures: Enhance sampler cache key.

Mugen87 hace 5 años
padre
commit
5029895696
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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 );