We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 733c40f commit 6a298acCopy full SHA for 6a298ac
example/img-nodes/index.html
@@ -33,6 +33,7 @@
33
graphData={gData}
34
nodeThreeObject={({ img }) => {
35
const imgTexture = new THREE.TextureLoader().load(`./imgs/${img}`);
36
+ imgTexture.colorSpace = THREE.SRGBColorSpace;
37
const material = new THREE.SpriteMaterial({ map: imgTexture });
38
const sprite = new THREE.Sprite(material);
39
sprite.scale.set(12, 12);
0 commit comments