Closed jonobr1 closed 6 months ago
Reported by @benz2012:
This PR improves blurry textures by appropriately scaling uploaded textures to the GPU by the renderer's pixel density.
For a scene such as:
const two = new Two({ type: Two.Types.webgl, fullscreen: true, autostart: true }).appendTo(document.body); const params = { size: 100, fill: '#000', stroke: '#00aeff', linewidth: 3, weight: 'bold' }; const text = two.makeText('Hello World', two.width / 2, two.height / 2, params);
Reported by @benz2012:
This PR improves blurry textures by appropriately scaling uploaded textures to the GPU by the renderer's pixel density.
For a scene such as: