提交 c8109aff 编写于 作者: C Charlotte Gore

Passing devicePixelRatio parameter on.

上级 6beea8cb
......@@ -31,7 +31,7 @@ THREE.WebGLDeferredRenderer = function ( parameters ) {
if ( this.renderer === undefined ) {
this.renderer = new THREE.WebGLRenderer( { antialias: false } );
this.renderer = new THREE.WebGLRenderer( { antialias: false, devicePixelRatio : devicePixelRatio } );
this.renderer.setSize( fullWidth, fullHeight );
this.renderer.setClearColor( 0x000000, 0 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册