Skip to content

Commit d1b05b9

Browse files
committed
WebGLShadowMap: Switched to NearestFilter.
1 parent 77c9e67 commit d1b05b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgl/WebGLShadowMap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
160160

161161
if ( shadow.map === null ) {
162162

163-
var pars = { minFilter: THREE.LinearFilter, magFilter: THREE.LinearFilter, format: THREE.RGBAFormat };
163+
var pars = { minFilter: THREE.NearestFilter, magFilter: THREE.NearestFilter, format: THREE.RGBAFormat };
164164

165165
shadow.map = new THREE.WebGLRenderTarget( shadowMapSize.x, shadowMapSize.y, pars );
166166

0 commit comments

Comments
 (0)