Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

262
Views
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 answers
Answer question

0

You want:

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

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!