- Home /
MipMapBias not working on mobile
Hey Guys, I am trying to change my mip map bias via code, with this line, it works fine on the mac, but it doesn't work neither on Android nor iOS. Anyone has an idea ?
Thanks a lot for your time.
Claude
Answer by Landern · Sep 05, 2014 at 02:51 PM
From the documentation (pay attention to the bold part it applies to android):
A positive bias makes a texture appear extra blurry, while a negative bias sharpens the texture. Note that using large negative bias can reduce performance, so it's not recommended to use more than -0.5 negative bias. In most cases better sharpening of the texture can be achieved by using anisotropic filtering. Also note that mip map bias does not work with MaterialPropertyBlocks, and some platforms, e.g., OpenGL ES based do not support it without custom shaders.
What does it mean ?
Also note that mip map bias does not work with $$anonymous$$aterialPropertyBlocks, and some platforms, e.g., OpenGL ES based do not support it without custom shaders.
It won't work on neither Android or iOS ?
Without a shader.. correct.
Do I have to use a shader for this ?
If the documentation from unity is correct yes, i'd like to think it is.
Your answer
Follow this Question
Related Questions
Sprites and Mip Maps in Android vs iOS 2 Answers
iOS and Android Resolution limitation 0 Answers
Android equivalent of UnityPause() 0 Answers
Dinamic name for data save 0 Answers