-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cutoff 0.25 test not passing for AlphaBlendModeTest.gltf #1572
Comments
This is expected when MSAA is enabled. The glTF spec is ambiguous with respect to ALPHA_TO_COVERAGE: |
Thank you for telling me that thread. I will look at it. |
This test now passes properly. |
@romainguy I tried the gltf-test sample again with the latest build of Filament. However, the Cutoff Filament latest version + AlphaBlendModeTest.gltf result: Is it the wrong way to use it? It would be great to get some advice. |
@prideout Any idea? My screenshot is from gltf_viewer (native, not WebGL) |
There's nothing to do here on the Filament side. When MSAA is disabled, we "pass" the test. When it's enabled, the rendering is affected by how the browser and GPU implement ALPHA_TO_COVERAGE. Note that other renderers may or may not enable ALPHA_TO_COVERAGE since this is unspecified in the glTF standard. It looks like cx20 has MSAA enabled, and is using a browser or GPU that implements ALPHA_TO_COVERAGE strangely. Not a Filament bug. |
I don't think we should take any actions until Khronos resolves KhronosGroup/glTF#1668 |
Not holding my breath :) |
This bug is 3 yrs old, closing. |
Describe the bug
I tried to display AlphaBlendModeTest.gltf with filament latest version.
However, it did not pass the
Cutoff 0.25
test.To Reproduce
filament latest version + AlphaBlendModeTest.gltf result
Expected behavior
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: