Texture blurring.

BlitzMax Forums/MiniB3D Module/Texture blurring.

Sledge(Posted 2008) [#1]
Any way to switch off the blurring effect you see on textures under MiniB3D? ClearTextureFilters() ain't touching it and it's a wee bit unwanted for a couple of things I have in mind.


QuickSilva(Posted 2008) [#2]
I`m interested in this too. I need my textures to be pin sharp. I know that this was possible with B3D via a .dll (created by Tom). Any way to get something similar working with MiniB3D?

Jason.


simonh(Posted 2008) [#3]
In TMesh.bmx, do a search for 'LINEAR', and replace all instances with 'NEAREST'.


Sledge(Posted 2008) [#4]
Aha! I was scouring TTexture.bmx!


deps(Posted 2008) [#5]
Any chance it would be possible to switch between Linear and Nearest, without hacking around in TMesh.bmx, in the next version of MiniB3D? :)


QuickSilva(Posted 2008) [#6]
Thanks Simon, just what I wanted :)

Yes I agree it would be nice to have a simple toggle to switch between the two.

Jason.