-
Notifications
You must be signed in to change notification settings - Fork 303
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
checkTransparency issue #112
Comments
I'm pretty sure most glTF 2 renderers will ignore the alpha channel for anything but base color. For example: https://github.com/KhronosGroup/glTF-WebGL-PBR/blob/master/shaders/pbr-frag.glsl#L293. It would be better to transfer the alpha channel to the base color (diffuse) texture instead. |
@lilleyse Thanks, That's let me learn a lot. |
Ah that is true. I'll open a PR to change the load order. |
Should
checkTransparency
parameter be inambientTextureOptions
?Cause I have
obj
with transparency ambient texture.The text was updated successfully, but these errors were encountered: