Imagination PowerVR SDK Blog

How to change LOD Bias ?


#1

Hello,
I am currently developing for iPhone, using the PowerVR SDK to have a windows version.

Apple docs says that the iPhone supports LOD bias.
And I know that a GL_EXT_texture_lod_bias extension exists for OpenGL ES 1.1.
The problem is that I have absolutely no clue on how to set the load bias using PowerVR SDK…

With “classic” openGL i would do :
glTexEnvf(GL_TEXTURE_FILTER_CONTROL_EXT,GL_TEXTURE_LOD_BIAS_EXT,1.0f);

But in the Power VR sdk headers, GL_TEXTURE_FILTER_CONTROL_EXT and GL_TEXTURE_LOD_BIAS_EXT do not exist !

Thank you for your help