var Renderer = {
    create: function() {
        this.renderer = new THREE.WebGLRenderer();

        this.renderer.setSize(window.innerWidth, window.innerHeight);
        this.renderer.setPixelRatio(window.devicePixelRatio ? window.devicePixelRatio : 1);
        
        document.body.appendChild(this.renderer.domElement);

        return this.renderer;
    },
    
    setCardboardEffect: function() {
        this.cbEffect = new THREE.CardboardEffect( this.renderer );
        this.cbEffect.setSize( window.innerWidth, window.innerHeight );

        return this.cbEffect;
    },

    handleResize: function () {
        this.renderer.setSize( window.innerWidth, window.innerHeight );
    }
};

module.exports = Renderer;

var Renderer = {
    create: function() {
        this.renderer = new THREE.WebGLRenderer();
        this.renderer.setSize(window.innerWidth, window.innerHeight);
        document.body.appendChild(this.renderer.domElement);

        return this.renderer;
    },
    
    setCardboardEffect: function() {
        this.cbEffect = new THREE.CardboardEffect( this.renderer );
        this.cbEffect.setSize( window.innerWidth, window.innerHeight );

        return this.cbEffect;
    },

    handleResize: function () {
        this.renderer.setSize( window.innerWidth, window.innerHeight );
    }
};

module.exports = Renderer;

--- 
+++ 
@@ -1,7 +1,10 @@
 var Renderer = {
     create: function() {
         this.renderer = new THREE.WebGLRenderer();
+
         this.renderer.setSize(window.innerWidth, window.innerHeight);
+        this.renderer.setPixelRatio(window.devicePixelRatio ? window.devicePixelRatio : 1);
+        
         document.body.appendChild(this.renderer.domElement);
 
         return this.renderer;
Add pixel ratio renderer size support
