Hello,
OK so I’m trying to solve this from 2 days. I read alot of forum post and other things. Nothing workes for me so far.
Screen :
My road looks like this on iphone5/ipad2 etc.
Is there any way to make it look better? I saw many ios games that have very nice mipmaped road.
So far Ive try :
mipmap bias script (both renderer bias set and texture bias set in start()) - work on editor - not on ios device
making custom mipmaps in dds files and import to editor - when making ios build, unity says that I cannot use dds files
making custom pvr file - doesnt help at all - I cannot choose less than 10 mipmaps becasue unity says it must be full number
making nearest filter mipmaps in pvrtool - road look like mess
disabling mipmaps in editor - road is too crispy
I dont have any more ideas how to make this road looks more normal. Thanks for any tips! Im using unity 3.5.6f4
The issue is not mipmaps as such, but rather anisotropic filtering, which I don’t know if Unity supports on iOS (older devices didn’t have it at least).
–Eric
Yes I know but how other devs make it work? real racing 2, need for speed, even some game made in unity (like Drift Mania Championship 2) seems to have very nice smooth roads. So where is the trick?
Aniso works, but only up to 2 I believe.
Still 2 looks undeniably much better than 1, so you should give that a try.
AcidArrow:
Aniso works, but only up to 2 I believe.
Still 2 looks undeniably much better than 1, so you should give that a try.
Ive checked and 0 and 2 looks the same for me. So I guess aniso dont work on ios - or maybe we must force it to work somehow
OK i found the temporary way to mipmap bias work.
Turn off using opengles20 in appcontroller.mm in xcode project and bias scripts will start work.
Bye bye opengl es 2.0 for now …
Topic is still open - if anyone have some ideas how to make this road look OK on 2.0 please post some solution here.
Anisotropic requires trilinear filtering, not bilinear.
I made some tests. Because I dont wanna stuck on old opengles1.1 I switch back to 2.0.
Here is comparison of aniso 2x trilinear / aniso 0x bilinear
As you can see - aniso works on ios - AcidArrow and hippocoder was right
reddotgames , so in the end you used your own mip map textures or went for the unity mip map feature? Do you recommend using pre generated mip maps? Do they improve significantly? What tool would anyone recommend for generating these mip maps? Thanks.