Results 1 to 2 of 2

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

  1. #1
    Member Newbie
    Join Date
    Jul 2013
    Posts
    33

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

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

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Jun 2013
    Posts
    3,103
    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) .

Similar Threads

  1. textures unit bind uniform sampler2D from learopengl
    By DaTranShan in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-09-2019, 05:35 PM
  2. OpenGl Texture unit problem
    By agersoor in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 05-08-2012, 03:56 AM
  3. Bind video texture to opengl primitive
    By Lukes in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 06-04-2011, 09:19 PM
  4. Texture unit 0 blending with Texture unit 1 problem
    By kackurot in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 10-31-2006, 10:16 PM
  5. Replies: 2
    Last Post: 03-03-2004, 02:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean