Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working with multiple textures, and some more readable examples for shaders #860

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

tzukpolinsky
Copy link

Hello
For an academic project I'm creating in Haifa University, I tried to use the ModelViewer tool to load multiple textures.
In the first attempt, because in geometry_obj the texture names are given using an iterator and in the shader there is only one texture "texture_0", I couldn't use the program as is.

So I attached the texture names to the object names,and in GLDraw changed the structure of the function.

I hope you could integrate it in the repository, because loading and working with several textures is a painful subject across the web.

Thank you in advance
Tzuk Polinsky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant