I am currently incorporating a 512x512 SVG onto a circular plane in my project using the following code snippet:
const texture = new THREE.TextureLoader().load('img/plane.svg');
const material = new THREE.MeshBasicMaterial({
transparent: true,
map: texture,
side: THREE.DoubleSide
});
const geometry = new THREE.CircleGeometry(5, 64);
const plane = new THREE.Mesh(geometry, material);
plane.rotation.x = -1;
scene.add(plane);
Although the setup is functioning correctly, I've noticed that the text within the SVG appears quite blurry when rendered in three.js:
https://i.sstatic.net/d3Xec.png
Is there a way to enhance the sharpness of the text on the SVG during rendering?
In case you would like to compare, here's the same SVG rendered as a high-quality 512x512 png: