Selaa lähdekoodia

WebGLShadowMap: Support wireframeLinewidth.

Mr.doob 10 vuotta sitten
vanhempi
commit
cf3a321502
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/renderers/webgl/WebGLShadowMap.js

+ 1 - 0
src/renderers/webgl/WebGLShadowMap.js

@@ -282,6 +282,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
 		}
 
 		depthMaterial.wireframe = material.wireframe;
+		depthMaterial.wireframeLinewidth = material.wireframeLinewidth;
 
 		return depthMaterial;