|
@@ -1982,8 +1982,8 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
uniforms.diffuse.value = material.color;
|
|
|
uniforms.opacity.value = material.opacity;
|
|
|
- uniforms.size.value = material.size;
|
|
|
- uniforms.scale.value = _canvas.height / 2.0; // TODO: Cache this.
|
|
|
+ uniforms.size.value = material.size * _pixelRatio;
|
|
|
+ uniforms.scale.value = _canvas.clientHeight / 2.0; // TODO: Cache this.
|
|
|
|
|
|
uniforms.map.value = material.map;
|
|
|
|