Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: LOD in Texturing

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    207

    LOD in Texturing

    how does GL_TEXTURE_MIN_LOD, GL_TEXTURE_MAX_LOD and LOD_BIAS works?
    To check it visually, i have created 6*6 texture wth mipmapping and if for values > 0.5 for MIN_LOD i get a 3*3 texture irespective of values for MAX_LOD. If i change LOD_BIAS it does not affect my o/p. I am not able to figure out how it works exactly.
    Can anyone explain it by stating an example.

  2. #2
    Junior Member Regular Contributor
    Join Date
    Jun 2012
    Posts
    207
    Bounce..!!

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    3,211
    Look in the GL 4.3 spec and search for "texture min lod". After a few hits you'll end up in Section 8.14 titled Texture Minification.

    Look at figures 8.4-8.6 on pgs. 250-251. See subsequent sections such as 8.14.3 Mipmapping for more details. There it takes the computed lamda and maps it to a MIPmap level for different min filters.
    Last edited by Dark Photon; 04-04-2013 at 05:29 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •