Mali 400 don´t have anisotropic filtering?

Hello, I am making an Android game and in my phone “Galaxy S duos”(with an Adreno 200), the anisotropic filter works ok. But when I test the game in a Tablet With GPU Mali-400, the Anisotropic don´t works (in any aniso level).

I tested in GPU mali 400 Single Core and Quad Core, and both of them don´t have anisotropic filter.

It is a limitation of the Mali 400 or it is a Unity bug?.

Thanks in advance.

anisotropic filtering is not part of gles2 core api
you need GL_EXT_texture_filter_anisotropic extension.

Hello, Alexey

and how I can use “GL_EXT_texture_filter_anisotropic” extension in Unity?

I am very novice with Android and Open GL, and I don´t know how I must to proceed. Why it works on Adreno 200 directly?. How I can set it for Mali 400 to use it?.

Thanks in advance.

no, you got it all wrong
aniso filtering is not part of core api, so it is supported ONLY if gl driver have GL_EXT_texture_filter_anisotropic extension
you can check or in logcat (we dump all extensions when we init gl)
or over http://gfxbench.com
e.g. if you check GFXBench - unified graphics benchmark based on DXBenchmark (DirectX) and GLBenchmark (OpenGL ES) which is galaxy note 2 you will see that there is no GL_EXT_texture_filter_anisotropic extensions exposed, meaning no aniso filtering

this mean that they can add support for anisotropic filter in the Drivers if they want?, or it is a Hardware limitation (Mali 400 don´t support it)?. I did read in other forum that somebody saw a game from the market using anisotropic filter in a Mali card. And he wanted to use Anisotropic with Unity and had the same question than me.

Sorry by my english.

Regards.

well, i am not an ARM guy, so i cant say for sure. But if they ever have a driver with aniso support it will just work here

i would suggest to not trust so easily to random people on the internets ;-).
Anyway, if the driver supports this extension aniso will fly. You can ask over ARM forums, maybe they can give you more info about future/current availability

I just tested this and i can confirm that anisotropic filtering does not work on mali 400.

I am trying to create a somewhat crisp road, but i dont know how to do it now.
MipMapBias does not work either, but trilinear filtering helped a little.

Any suggestions ?

Thanks Alexey!!!

About Antialiasing, it is not part of gles2 core api, or it is?.

I tested it with Mali 400 some time ago and it worked very well (and with 4xAA it only have a litle impact on the framerate, it is awesome…:hushed:).

But two weeks ago I tested it on my phone and I can´t apreciate if it works, because the pixels are very litle, but it have a problem with the GUI of the game, THE GUI DISSAPEARS!. it is a know BUG? or I must to send a bug report, or Adreno don´t support it?.

Regards!.

first of all - even if aa is not supported it shouldnt cause gui to disappear, so bug report with repro project and device information
second - i think almost all “sane” android devices support some AA, so you shouldnt really worry (and, apart from some possible crazy bugs - fallback to no-AA should be pretty painless- just some jaginess)

try to not using Mipmaps. I think that it will be crisper but it will lower the performance. You must to check if it worth the change. It will look somewhat “pixelated” at far distance.

I tried it, but it doesnt look good either. Too crisp far away, or too blurry up close.
I think i will have to model the road stripes as polygons …

I am testing Antialiasing and in Mali 400, if I set AA to 8X, ANISO appears magically!! (but the framerate drops a bit)

In Adreno 200 seems to work AA at 2x,4x (at 8x I can´t apreciate it in the 4" phone screen, but the framerate don´t drop from 4x to 8x, seems to don´t apply 8x).
The problem is with AA and the GUI in Adreno 200, when I set to 2X the GUI buttons get corrupted, after it I set to 4X they come to normal state. but touching later the menus, appears black areas on the screen, and if I change the AA to Off it come to normality.

I need to make a small repro case.

Regards.

I did try to reproduce the bug in an new empty proyect but I can´t get the Bug here.

I deleted all that I can in my proyect and I did send the Bug Report.

Case 579683.

Regards.