@@ -48,8 +48,8 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
4848
4949 } ) ;
5050
51- const shadowMaterialHorizonal = shadowMaterialVertical . clone ( ) ;
52- shadowMaterialHorizonal . defines . HORIZONAL_PASS = 1 ;
51+ const shadowMaterialHorizontal = shadowMaterialVertical . clone ( ) ;
52+ shadowMaterialHorizontal . defines . HORIZONTAL_PASS = 1 ;
5353
5454 const fullScreenTri = new BufferGeometry ( ) ;
5555 fullScreenTri . setAttribute (
@@ -215,14 +215,14 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
215215 _renderer . clear ( ) ;
216216 _renderer . renderBufferDirect ( camera , null , geometry , shadowMaterialVertical , fullScreenMesh , null ) ;
217217
218- // horizonal pass
218+ // horizontal pass
219219
220- shadowMaterialHorizonal . uniforms . shadow_pass . value = shadow . mapPass . texture ;
221- shadowMaterialHorizonal . uniforms . resolution . value = shadow . mapSize ;
222- shadowMaterialHorizonal . uniforms . radius . value = shadow . radius ;
220+ shadowMaterialHorizontal . uniforms . shadow_pass . value = shadow . mapPass . texture ;
221+ shadowMaterialHorizontal . uniforms . resolution . value = shadow . mapSize ;
222+ shadowMaterialHorizontal . uniforms . radius . value = shadow . radius ;
223223 _renderer . setRenderTarget ( shadow . map ) ;
224224 _renderer . clear ( ) ;
225- _renderer . renderBufferDirect ( camera , null , geometry , shadowMaterialHorizonal , fullScreenMesh , null ) ;
225+ _renderer . renderBufferDirect ( camera , null , geometry , shadowMaterialHorizontal , fullScreenMesh , null ) ;
226226
227227 }
228228
0 commit comments