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

Fix techniques with same uniform name but different parameter #490

Merged
merged 2 commits into from
Mar 30, 2020

Conversation

lilleyse
Copy link
Contributor

Fixes #488

Had to map uniforms based on technique so that different techniques' uniforms would not override each other. Also fixed an issue where a program would get duplicated if two techniques referenced it.

@liukangkanglkk99
Copy link

Nice going! Thanks @lilleyse, I tested this and it does work.

@lilleyse
Copy link
Contributor Author

@likangning93 ready for another look

@likangning93
Copy link
Contributor

👍

@likangning93 likangning93 merged commit 91abb76 into master Mar 30, 2020
@likangning93 likangning93 deleted the techniques-fix branch March 30, 2020 12:40
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.

uniform variables error after updating model from gltf v1.0 to gltf v2.0
3 participants