-
Notifications
You must be signed in to change notification settings - Fork 52
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
Specular color texture is never passed to the PBR shader #113
Comments
@dar-dev i think to issue is here :
it should use Could you please test it with your models to confirm it works and send a PR? |
Tested using "PBRTextureAttribute.SpecularColorTexture":
The issue here's the "specularColorTextureFlag" is never defined in the PBRShader. Please, check our fix here: MikOfClassX@fdb7570 I can send a PR if it looks good to you.. -- |
At this line: https://github.com/mgsx-dev/gdx-gltf/blob/7d70839067ead66ec6107bc1be8c060c7c0fc7aa/gltf/src/net/mgsx/gltf/loaders/shared/material/PBRMaterialLoader.java#L167C7-L167C7
A specular color texture attribute is created but the texture is never passed to the shader.
The text was updated successfully, but these errors were encountered: