提交 d1b05b90 编写于 作者: M Mr.doob

WebGLShadowMap: Switched to NearestFilter.

上级 77c9e678
......@@ -160,7 +160,7 @@ THREE.WebGLShadowMap = function ( _renderer, _lights, _objects ) {
if ( shadow.map === null ) {
var pars = { minFilter: THREE.LinearFilter, magFilter: THREE.LinearFilter, format: THREE.RGBAFormat };
var pars = { minFilter: THREE.NearestFilter, magFilter: THREE.NearestFilter, format: THREE.RGBAFormat };
shadow.map = new THREE.WebGLRenderTarget( shadowMapSize.x, shadowMapSize.y, pars );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册