-
Notifications
You must be signed in to change notification settings - Fork 27
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
Changes to Khronos-TextureTransformMultiTest? #41
Comments
This is my model, but I'm not the one who changed it between repos. A quick binary compare of old-vs-new shows that the Note however, this should make no difference to your renders! The glTF spec requires that colorspace information from PNG files be ignored, in favor of taking the colorspace as directed by glTF spec itself (which would be linear for a non-color image like this one). WebGL 1.0 may not be able to abide by this rule, but newer rendering systems should be capable. See for example: TextureLinearInterpolationTest So, my guess is that ThreeJS and Filament are not respecting glTF's choice of colorspace, creating this diff, but BabylonJS and the Khronos Sample Viewer are handling it correctly (with no diff). |
Both WebGL versions support setting this state via |
The root cause here is that this repo uses an old version of this asset. The normal map has been updated in KhronosGroup/glTF-Sample-Models#365 and KhronosGroup/glTF-Sample-Models#367. |
I noticed that the render fidelity test framework produces different results for Khronos-textureTransformMultiTest when one uses the model in this repo as compared to the one if the previous glTF-SampleModels repo?
The issue is with clear coat normals.
On the left is Three.js render of glTF-Sample-Models, and the right is using it from glTF-SampleAssets:
I also noticed that the Filament engine has similar issues (glTF-Sample-Model on the left, Sample-Aseets on the right):
Other render engines (Babylon.js, gltf-model-viewer) do not have differences.
I figure it must be because of normal reference frame code?
Did someone change the Khronos-TextureTransformMultiTest model in the migration to this repo?
I first noticed the issue here: google/model-viewer#4534 (comment)
The text was updated successfully, but these errors were encountered: