ahmed ali

there's bicubic, bilinear and nearest so which one is the best to use for texture to be smooth and not jaggy, what is the best option in general, it's bilinear by default :think:
ahmed ali
  • Postovi: 33

Nate

Bicubic is the highest quality filtering (smoothing). It averages 16 samples while bilinear averages 4. Nearest chooses the nearest so you don't get a smoothed result, but you also don't get pixel values that were not in your original images.

Avatar
Nate

Nate
  • Postovi: 11939

ahmed ali

Nate je napisao/la:
so which one to use in general? as sometimes i use scale to fit texture in one atlas, and bilinear is on by default but sometimes it gets blurry on the edges

---

Nate je napisao/la:Bicubic is the highest quality filtering (smoothing). It averages 16 samples while bilinear averages 4. Nearest chooses the nearest so you don't get a smoothed result, but you also don't get pixel values that were in your original images.

ahmed ali
  • Postovi: 33

Nate

I believe bicubic is the default in 4.0+. You can use any of the three, choose the one you like the look of most for your application.
Avatar
Nate

Nate
  • Postovi: 11939


Natrag na Runtimes