Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

263
Visualizações
Three.js image quality blured

I have made a cube with textures with three.js. When I add a texture, the quality is not good. It's light blurry and I don't know how fix it.

Example:

Original image

enter image description here

Image in Three.js (blurry)

enter image description here


You can see better bellow: (The blue and gold in the head are not the same)

Original Image

enter image description here

Image in Three.js (blurry)

enter image description here

I have tried a lot of solutions:

texture.anisotropy =  16;

-

renderer.setPixelRatio(window.devicePixelRatio ? window.devicePixelRatio : 1)

-

renderer = new THREE.WebGLRenderer( { 
   canvas: theCanvas,
   antialias: true,
   preserveDrawingBuffer: true,
   alpha:true
} );

I have tried to change the light too but it was never working. Is it possible to change the image quality directly in three.js?

about 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

You want:

texture.generateMipmaps = false;
about 4 years ago · Santiago Trujillo Relatório

0

in 2020

    var texture = new THREE.TextureLoader().load();
    texture.generateMipmaps = false;
    texture.minFilter = THREE.LinearFilter;
    texture.needsUpdate = true;
about 4 years ago · Santiago Trujillo Relatório

0

Set the texture minFilter property. THREE.js default is none.

    var texture = new THREE.TextureLoader().load();
    texture.minFilter = THREE.LinearFilter;
about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda