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 default value of alphaCutoff. #6346

Merged
merged 2 commits into from
Mar 19, 2018
Merged

Fix default value of alphaCutoff. #6346

merged 2 commits into from
Mar 19, 2018

Conversation

emackey
Copy link
Contributor

@emackey emackey commented Mar 19, 2018

The glTF spec defines a default value of 0.5 for alphaCutoff.

See: KhronosGroup/glTF-Sample-Models#156

@emackey
Copy link
Contributor Author

emackey commented Mar 19, 2018

gltf-pipeline PR is CesiumGS/gltf-pipeline#355.

@lilleyse
Copy link
Contributor

The code looks good. Does this need an update to CHANGES.md?

@lilleyse
Copy link
Contributor

Also if easy enough to create, maybe a test too?

@emackey
Copy link
Contributor Author

emackey commented Mar 19, 2018

The tests here aren't very detailed, just checks to see if rendering completely fails when one of the alpha modes is toggled on. At some point we should switch over to the Asset Generator and do comparison against reference images, but I think that's a large project.

CHANGES updated. Odd that Concierge didn't chime in about that.

@lilleyse
Copy link
Contributor

Ok sounds good.

@lilleyse lilleyse merged commit f773f67 into master Mar 19, 2018
@lilleyse lilleyse deleted the alpha-mask-default branch March 19, 2018 15:15
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.

2 participants