Samplers and GL_TEXTURE_LOD_BIAS_EXT

Hi!

Simple question… how do texture2D(), texture2D(sampler, coords, bias), texture2DLod()and texture2DGrad() work together with glTexParameteri(target, GL_TEXTURE_LOD_BIAS_EXT, bias)?

I noticed, that the simple texture2D() obeys GL_TEXURE_LOD_BIAS_EXT, but I do not know the the other sampling functions are defined to work together with it. The specs are not explicit enough about it.

thank you!

After reading the specs more carefully, I found the answer: the texture object bias is always taken into account. See OpenGL 3.2 specs, p. 162, (3.18).

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.