markcwm / openb3d.mod

OpenB3D BlitzMax wrapper, see openb3d.docs for examples
18 stars 7 forks source link

Anisotropic Filtering needs tested #15

Closed markcwm closed 5 years ago

markcwm commented 5 years ago

I've just added Anisotropic Filtering from Dreide. Hezkore actually requested this about 3 years ago http://www.mojolabs.nz/posts.php?topic=106572 I haven't tested it yet but maybe someone can test before me, you must set the texture flag to 1024 to enable anisotropic. This technique basically eliminates antialiasing especially at oblique angles.

markcwm commented 5 years ago

Okay, tested and fully functional in latest 5e290216d20e3e906642a9b8459fe6e4c56841f2. There's an example in extended/anisotropic, you can use TextureAnIsotropic to change the factor per texture allowing you to fine tune things.