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

Switched texture loading order so diffuse is always first #115

Merged
merged 1 commit into from Nov 29, 2017

Conversation

lilleyse
Copy link
Contributor

@lilleyse lilleyse commented Nov 7, 2017

Fixes #112

The diffuse texture is now guaranteed to load first.

Before if any other texture referred to the same path as the diffuse texture it would load it without checking for transparency.

@PrincessGod could you test this branch?

@PrincessGod
Copy link

PrincessGod commented Nov 9, 2017

Sorry about replay so late, and I have no experience about testing.
But I think this is the problem, cause I switch the order and the alpha is fine.

@lilleyse
Copy link
Contributor Author

Oh by testing I just mean converting your model with this branch and seeing if it works. No need to verify the code directly.

@PrincessGod
Copy link

OK, it is fine now, you can merge it into master.

Copy link
Contributor

@likangning93 likangning93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay before reviewing. Changes look good, thanks @lilleyse!

@likangning93 likangning93 merged commit 4b64212 into master Nov 29, 2017
@likangning93 likangning93 deleted the texture-load-order branch November 29, 2017 18:09
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.

None yet

3 participants