Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Texture creation refactoring + texture filtering options
#4
OK, so I implemented trilinear filtering, mipmap levels, and anisotropy. To use them you need to add 3 lines below to [Setup] section in colobot.ini:

Code:
FilterMode=3
MipmapLevel=8
Anisotropy=16

These are very high settings so you can try lower values if game runs slowly. FilterMode=3 means trilinear filtering. Value 2 means bilinear filtering and 1 means nearest neighbour filtering. If they are not present, mode defaults to bilinear, mipmaps are set to 1 and anisotropy to 1. If your computer can't use specified anisotropy, it will use whatever the highest level it can.

Later we can add controls to options menu so we can change these settings in game. Textures have to be reloaded for this to work.
"After three days without programming, life becomes meaningless."
~The Tao of Programming


Messages In This Thread
RE: Texture creation refactoring + texture filtering options - by tomaszkax86 - 05-06-2015, 05:04 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)