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 2 of 2

Thread: Can't bind past texture unit 7 in OpenGL ES for iOS?

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2013
    Posts
    22

    Can't bind past texture unit 7 in OpenGL ES for iOS?

    glActiveTexture(GL_TEXTURE8) results in GL_INVALID_ENUM. Shouldn't I have access to 32 texture units on the iPhone?

  2. #2
    Member Regular Contributor
    Join Date
    Jun 2013
    Posts
    498
    OpenGL ES 2.0 only guarantees 8 texture units. Specific implementations may provide more; you can check the value using glGetIntegerv(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS) .

Posting Permissions

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