glBindTextures will work as you want, unless I miss something
I'm exhausted trying to read the opengl standard to figure this out. Does anybody else out there know? Is there a way to bind textures directly to their binding point, like the attached image? Why do I have to deal with texture units?pic.twitter.com/n1ijlzJjCa
-
-
-
glBindTextures will bind by texture unit. No guarantee that layout(binding) is the same as texture unit. In fact, glUniform1i allows you to change the texture unit for the uniform at a given location. https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glBindTextures.xhtml …
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.