-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Conversation
I understand the goal of this test, but in practice, this isn't likely going to result any meaningful difference. Is there a specific scenario that passing this test will address? |
Consider these:
|
I'm not arguing whether this is a valid test, whether implementation should do it right, or that doing it right increases performance. The question for me is how important it is to call out. It's not obvious to me what real use cases this will solve. |
Referring to EXT_sRGB? According to https://developer.mozilla.org/en-US/docs/Web/API/EXT_sRGB it's still missing from Edge and IE11, although testing in Edge on macOS does list the extension so perhaps that's out of date. |
It's one more feature test that engines may use to evaluate their implementations. Just like with other feature tests from this repo, engines may assess it as they see fit.
It's supported in the new Edge (Chromium-based) that also supports WebGL 2.0. IE11 doesn't even fully support WebGL 1.0, so we should ignore it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a bit of discussion that looks like it trailed off, but I don't think there's harm in merging this, and it does highlight an effect we want folks to understand. Thanks @lexaknyazev!
It's likely that many engines will fail this test, since it's designed to magnify the (usually minor) difference in an implementation choice common in WebGL for years. FWIW, I do not think that three.js will make any attempt to pass this test. It has never been identified as a user-facing issue, and is not as trivial as you might imagine to change now. I think it is worth a bit more of a disclaimer on the readme for this file, or we risk giving the impression that glTF has not solved more basic color management issues, for readers not familiar with the details here. |
For Web-based engines that require WebGL 2.0 or WebGPU, the interpolation difference should be regarded as a legitimate issue rather than an "implementation choice". |
@donmccurdy @bghgary Was I too hasty in merging this? I merged a bunch of PRs yesterday morning, but it seems this one is the most controversial. Ecosystem conformance is very poor. I can migrate this model back onto a new branch if needed. Thoughts? |
Currently these represent a very small percentage of 3D experiences on the web. I guess I see this as a tradeoff: we are adding a row to https://github.com/cx20/gltf-test that will be mostly filled with "❌", and if we do that enough — keeping a lot of sample models here with legitimate technical or historical reasons engines would choose not to support them — it will reflect poorly on the ecosystem. On the other hand it's a useful sample for identifying a subtle issue. Proposed disclaimer in #313. |
I have added this model to the gltf-test with https://github.com/cx20/gltf-test#feature-test-models |
I would have preferred that we didn't merge this until more implementers are on board, but it's not a big deal. FYI, Babylon.js is planning on fixing this. |
We're finding that with WebGL 1.0 and
Is this a known/expected error? The situation in WebGL 1.0 seems much less practical than in WebGL 2.0 so far. |
Yes. This feature was removed from WebGL 1.0 (although it's supported in the underlying renderers) to follow OpenGL ES 2.0 semantics. We should expect WebGL 2.0 to be more broadly available with the upcoming OS updates. |
I see, thank you! |
Further addresses KhronosGroup/glTF-Sample-Assets#68.
Spheres should look alike. Filament and UX3D's fork of the glTF-Sample-Viewer pass.