Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

265
Vistas
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 Respuestas
Responde la pregunta

0

You want:

texture.generateMipmaps = false;
about 4 years ago · Santiago Trujillo Denunciar

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 Denunciar

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda