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
  • Mesajlar: 21

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.

Kullanıcı avatarı
Nate

Nate
  • Mesajlar: 11863

ahmed ali

Nate yazdı:
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 yazdı: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
  • Mesajlar: 21

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.
Kullanıcı avatarı
Nate

Nate
  • Mesajlar: 11863


Dön Runtimes