-
Notifications
You must be signed in to change notification settings - Fork 44
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
Load the model I found on the Internet to report an error. #32
Comments
In old versions of OpenGL, the internal format value was treated directly as number of color components: 1, 2, 3, or 4. |
I'll try it later. |
Ok, The problem has been solved |
I found the toSrgbInternalFormat function are same in v1.3.3 and v1.5.0.In v1.5.0,some model still loading failed. |
I am using the v1.5.0 tag. |
I modified the toSrgbInternal function to return GL_SRGB8 when format is 3, and then the model is loaded normally. I don't know if it's reasonable for me to do so. |
The assert in the toSrgbInternalFormat is called with parameter format of value 3.
The text was updated successfully, but these errors were encountered: