Jump to content
  • Advertisement
Sign in to follow this  
MrCrank

OpenGL How to use Array Texture?

This topic is 1512 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!

I have been learning about OpenGL 4 + shaders and so far I have managed to load a texture and display it on the screen.

But after finding out that OpenGL only supports 32 textures I was like WTF??

If I am going to make a game I would surely expect to have atleast 100-200 textures.

 

And after digging around the inet I found something called Texture Atlas but learning more about it has problem with mipmaps bleeding on far distances. The only solution people recommends was Array Texture but there are no examples of how to use it. I wish there could have been a tutorial on that but can not find any.

 

I am currently using GLFW + GLEW + glm + SOIL for my game project (C++ desktop game).

What should I do?

 

Thanks!

 

Kim

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!