Results 1 to 3 of 3

Thread: texture opengl es 2.0

  1. #1

    texture opengl es 2.0

    hello.
    I would create a texture atlas render sistem for my apllication , my problem is to size the max of width and height of the texture atlas(that is a texture) for webgl , that uses opengl es 2.0 .
    There are some constraint in opengl es 2.0 for the width and height of a texture ?
    and a size constraint?
    and in iphone or ipad?
    thanks.

  2. #2

    Re: texture opengl es 2.0

    On the iphones and ipads textures will definitely have maximum dimension of 4096x4096 due to the hardware. However, I'm unsure if webgl will further restrict the dimensions.

  3. #3
    Junior Member
    Join Date
    May 2011
    Posts
    12

    Re: texture opengl es 2.0

    AFAIK, OpenGL ES does not restrict the maximum dimensions of textures (however, it imposes a minimum of 64). It is up to the implementation and you can query it with:
    Code :
    glGet(GL_MAX_TEXTURE_SIZE);
    According to OpenGL ES, it is a "rough estimate" (there is no proxy stuff like OpenGL to have more accurate infos), but you can be confident with it.

Similar Threads

  1. texture in opengl es 1.1
    By emma in forum OpenGL ES 1.X - fixed function hardware
    Replies: 0
    Last Post: 05-04-2010, 04:51 PM
  2. Texture mapping in Opengl ES ?
    By gautam in forum OpenGL ES general technical discussions
    Replies: 4
    Last Post: 10-23-2004, 01:24 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
  •