diff --git a/packages/render-fidelity-tools/package-lock.json b/packages/render-fidelity-tools/package-lock.json index 0a8f227a79..6a35401bc4 100644 --- a/packages/render-fidelity-tools/package-lock.json +++ b/packages/render-fidelity-tools/package-lock.json @@ -12,6 +12,7 @@ "@actions/core": "^1.2.4", "@babylonjs/core": "^5.44.0", "@babylonjs/loaders": "^5.44.0", + "@google/model-viewer": "^3.0.1", "@khronosgroup/gltf-viewer": "^1.0.9", "@polymer/paper-button": "^3.0.1", "@polymer/paper-radio-group": "^3.0.1", @@ -22,7 +23,7 @@ "@types/puppeteer": "^5.4.6", "@types/rimraf": "^3.0.1", "@types/three": "^0.148.0", - "filament": "1.12.2", + "filament": "1.31.5", "focus-visible": "^5.2.0", "http-server": "^14.1.1", "lit": "^2.2.3", @@ -1112,6 +1113,23 @@ "kuler": "^2.0.0" } }, + "node_modules/@google/model-viewer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@google/model-viewer/-/model-viewer-3.0.1.tgz", + "integrity": "sha512-zelc/iyokFBEIQZCG0earetQGVRe/DCR0b+0qbThesGaVOCPhSz0SAikJ+IOyKd4iBTEyonnlzB+APbIUzE7VQ==", + "dependencies": { + "lit": "^2.2.3", + "three": "^0.149.0" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@google/model-viewer/node_modules/three": { + "version": "0.149.0", + "resolved": "https://registry.npmjs.org/three/-/three-0.149.0.tgz", + "integrity": "sha512-tohpUxPDht0qExRLDTM8sjRLc5d9STURNrdnK3w9A+V4pxaTBfKWWT/IqtiLfg23Vfc3Z+ImNfvRw1/0CtxrkQ==" + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -3538,9 +3556,9 @@ "dev": true }, "node_modules/filament": { - "version": "1.12.2", - "resolved": "https://registry.npmjs.org/filament/-/filament-1.12.2.tgz", - "integrity": "sha512-9qollv1gG4XFt7VZubvgvVFTVWOr3TdIXMZFzvwyuU63nlY5o/cWkanxSHofUQ7DVA3wFwxKONyKSIG3XUdNxA==", + "version": "1.31.5", + "resolved": "https://registry.npmjs.org/filament/-/filament-1.31.5.tgz", + "integrity": "sha512-LwHBZRyfdO65ITi0eC0mAZ4t+TX7x5h9bQIilTKEeJaidJZG4gRIbIbIzBNTFL7HSDmDutBVJxXzklLdgmTxAQ==", "dependencies": { "gl-matrix": "^3.2.1" } diff --git a/packages/render-fidelity-tools/package.json b/packages/render-fidelity-tools/package.json index c197af76ec..a22ff179e7 100644 --- a/packages/render-fidelity-tools/package.json +++ b/packages/render-fidelity-tools/package.json @@ -36,7 +36,7 @@ "@types/puppeteer": "^5.4.6", "@types/rimraf": "^3.0.1", "@types/three": "^0.148.0", - "filament": "1.12.2", + "filament": "1.31.5", "focus-visible": "^5.2.0", "http-server": "^14.1.1", "lit": "^2.2.3", @@ -56,4 +56,4 @@ "rollup-plugin-external-globals": "^0.6.1", "typescript": "4.8.4" } -} \ No newline at end of file +} diff --git a/packages/render-fidelity-tools/src/components/renderers/filament-viewer.ts b/packages/render-fidelity-tools/src/components/renderers/filament-viewer.ts index b86ec179aa..7a3edf9677 100644 --- a/packages/render-fidelity-tools/src/components/renderers/filament-viewer.ts +++ b/packages/render-fidelity-tools/src/components/renderers/filament-viewer.ts @@ -31,8 +31,6 @@ const basepath = (urlString: string): string => { return url.toString(); }; -const IS_BINARY_RE = /\.glb$/; - const $engine = Symbol('engine'); const $scene = Symbol('scene'); const $ibl = Symbol('ibl'); @@ -217,14 +215,14 @@ export class FilamentViewer extends LitElement { this[$scene].addEntity(directionalLight); } else { await fetchFilamentAssets([iblUrl, skyboxUrl]); - const ibl = this[$engine].createIblFromKtx(iblUrl); + const ibl = this[$engine].createIblFromKtx1(iblUrl); this[$scene].setIndirectLight(ibl); this[$ibl] = ibl; ibl.setIntensity(1.0); ibl.setRotation([0, 0, -1, 0, 1, 0, 1, 0, 0]); // 90 degrees if (scenario.renderSkybox) { - this[$skybox] = this[$engine].createSkyFromKtx(skyboxUrl); + this[$skybox] = this[$engine].createSkyFromKtx1(skyboxUrl); this[$scene].setSkybox(this[$skybox]); } else { this[$view].setBlendMode(View$BlendMode.TRANSLUCENT); @@ -238,9 +236,7 @@ export class FilamentViewer extends LitElement { } const loader = this[$assetLoader]!; - this[$currentAsset] = IS_BINARY_RE.test(modelUrl) ? - loader.createAssetFromBinary(modelUrl) : - loader.createAssetFromJson(modelUrl); + this[$currentAsset] = loader.createAsset(modelUrl); const asset = this[$currentAsset]!; @@ -249,6 +245,9 @@ export class FilamentViewer extends LitElement { asset.loadResources(resolve, () => {}, basepath(modelUrl), 1); }); + // Since asset.loadResources() has finished; it's safe to call releaseSourceData. + asset.releaseSourceData(); + this[$boundingBox] = asset.getBoundingBox(); const entities = asset.getEntities(); this[$scene].addEntities(entities); @@ -322,7 +321,12 @@ export class FilamentViewer extends LitElement { const {min, max} = this[$boundingBox]!; const modelRadius = Math.max(max[0] - min[0], max[1] - min[1], max[2] - min[2]); - const far = 2 * Math.max(modelRadius, orbit.radius); + const maxRadius = Math.max(modelRadius, orbit.radius); + + // Compute the near and far for the camera projection. + // far and near must be > 0, otherwise Filament throws an error. + // This can happen at initialization before the asset is loaded. + const far = maxRadius > 0 ? 2 * maxRadius : 10.0; const near = far / 1000; const camera = this[$camera]; diff --git a/packages/render-fidelity-tools/test/goldens/AlphaBlendLitmusTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/AlphaBlendLitmusTest/filament-golden.png index c0283fe28f..f157266101 100644 Binary files a/packages/render-fidelity-tools/test/goldens/AlphaBlendLitmusTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/AlphaBlendLitmusTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/DirectionalLightTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/DirectionalLightTest/filament-golden.png index 21774eb1d9..f3ee62da0a 100644 Binary files a/packages/render-fidelity-tools/test/goldens/DirectionalLightTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/DirectionalLightTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/FurnaceTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/FurnaceTest/filament-golden.png index 1da4808cc7..f253556986 100644 Binary files a/packages/render-fidelity-tools/test/goldens/FurnaceTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/FurnaceTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-2CylinderEngine/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-2CylinderEngine/filament-golden.png index 8eb30870b2..e6d001c485 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-2CylinderEngine/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-2CylinderEngine/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-ABeautifulGame/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-ABeautifulGame/filament-golden.png index 1ecaa6c92c..02e8f240f3 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-ABeautifulGame/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-ABeautifulGame/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AlphaBlendModeTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AlphaBlendModeTest/filament-golden.png index 2fb2b77788..b067751ec9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AlphaBlendModeTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AlphaBlendModeTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedCube/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedCube/filament-golden.png index 7e230c09ff..f5365c92bf 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedCube/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedCube/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphCube/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphCube/filament-golden.png index 388eb9f90d..80bad28d30 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphCube/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphCube/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphSphere/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphSphere/filament-golden.png index 3897db3d99..ec86a3ce8c 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphSphere/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedMorphSphere/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedTriangle/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedTriangle/filament-golden.png index c2d7bc86fc..99eeec0b8f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AnimatedTriangle/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AnimatedTriangle/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AntiqueCamera/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AntiqueCamera/filament-golden.png index 5136439ca8..fe39e6b422 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AntiqueCamera/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AntiqueCamera/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-AttenuationTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-AttenuationTest/filament-golden.png index 1394abdeae..97c28665a9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-AttenuationTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-AttenuationTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Avocado/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Avocado/filament-golden.png index a7e1c3db26..536ac6af0f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Avocado/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Avocado/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BarramundiFish/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BarramundiFish/filament-golden.png index 5d944eeb13..cd0b3ab615 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BarramundiFish/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BarramundiFish/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoomBox/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoomBox/filament-golden.png index 5ffca974bf..6b909f37e7 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoomBox/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoomBox/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoomBoxWithAxes/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoomBoxWithAxes/filament-golden.png index bd8e45bc44..a0619f1629 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoomBoxWithAxes/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoomBoxWithAxes/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Box/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Box/filament-golden.png index be2195c811..4c1ec2d9bd 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Box/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Box/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoxAnimated/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoxAnimated/filament-golden.png index 189fb668a1..b60ab4f238 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoxAnimated/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoxAnimated/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoxInterleaved/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoxInterleaved/filament-golden.png index afe28528e4..d23e624b27 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoxInterleaved/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoxInterleaved/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoxTextured/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoxTextured/filament-golden.png index 865e89fd4b..fe298d3478 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoxTextured/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoxTextured/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoxTexturedNonPowerOfTwo/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoxTexturedNonPowerOfTwo/filament-golden.png index 0fb6cb13b2..cf55773423 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoxTexturedNonPowerOfTwo/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoxTexturedNonPowerOfTwo/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BoxVertexColors/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BoxVertexColors/filament-golden.png index a135bd94f2..5d86a0c578 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BoxVertexColors/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BoxVertexColors/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-BrainStem/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-BrainStem/filament-golden.png index f272517f3c..00398e4473 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-BrainStem/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-BrainStem/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Buggy/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Buggy/filament-golden.png index 10bd096e9f..4bc4f795b3 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Buggy/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Buggy/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-CesiumMan/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-CesiumMan/filament-golden.png index f47119da7b..83a95cd011 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-CesiumMan/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-CesiumMan/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-CesiumMilkTruck/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-CesiumMilkTruck/filament-golden.png index 565fd6e4b6..e47af0a576 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-CesiumMilkTruck/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-CesiumMilkTruck/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-ClearCoatTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-ClearCoatTest/filament-golden.png index a8946f2486..d0b3bd02b9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-ClearCoatTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-ClearCoatTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Corset/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Corset/filament-golden.png index 30e1f306d6..f2c806e03e 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Corset/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Corset/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Cube/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Cube/filament-golden.png index 8c9e06bb8a..2e8fd3c54a 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Cube/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Cube/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-DamagedHelmet/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-DamagedHelmet/filament-golden.png index e2a96eba0f..45a0a6fc3c 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-DamagedHelmet/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-DamagedHelmet/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-DragonAttenuation/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-DragonAttenuation/filament-golden.png index 0d10b35e2d..5750103a93 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-DragonAttenuation/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-DragonAttenuation/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Duck/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Duck/filament-golden.png index 26ecf652fc..841f756d4f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Duck/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Duck/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-EmissiveStrengthTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-EmissiveStrengthTest/filament-golden.png index 69dd25a961..1dce795fd9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-EmissiveStrengthTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-EmissiveStrengthTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-EnvironmentTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-EnvironmentTest/filament-golden.png index ddf2ef2ad7..6c5a30b261 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-EnvironmentTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-EnvironmentTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-FlightHelmet/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-FlightHelmet/filament-golden.png index 4804665121..6268800e78 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-FlightHelmet/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-FlightHelmet/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Fox/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Fox/filament-golden.png index 9b026cdebe..e5d4eedc0d 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Fox/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Fox/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-GearboxAssy/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-GearboxAssy/filament-golden.png index 691188042c..5f55621608 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-GearboxAssy/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-GearboxAssy/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-GlamVelvetSofa/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-GlamVelvetSofa/filament-golden.png index f9ca46b000..fe08df7e86 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-GlamVelvetSofa/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-GlamVelvetSofa/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-InterpolationTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-InterpolationTest/filament-golden.png index f5835b0ed0..0a91aa3ed3 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-InterpolationTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-InterpolationTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceDielectricSpheres/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceDielectricSpheres/filament-golden.png index 6aebf62368..0e4901facf 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceDielectricSpheres/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceDielectricSpheres/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceLamp/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceLamp/filament-golden.png index e7955f1006..edb2315487 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceLamp/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceLamp/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceMetallicSpheres/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceMetallicSpheres/filament-golden.png index 68d0d6e073..1a0c0b2f4c 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceMetallicSpheres/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceMetallicSpheres/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceSuzanne/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceSuzanne/filament-golden.png index e3b4d1f12b..d139427629 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-IridescenceSuzanne/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-IridescenceSuzanne/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-IridescentDishWithOlives/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-IridescentDishWithOlives/filament-golden.png index b69d06f8f6..d4441c33b2 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-IridescentDishWithOlives/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-IridescentDishWithOlives/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Lantern/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Lantern/filament-golden.png index f2991efaff..5e7680833f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Lantern/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Lantern/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-LightsPunctualLamp/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-LightsPunctualLamp/filament-golden.png index 5b1fd87263..dee5c1b84f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-LightsPunctualLamp/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-LightsPunctualLamp/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MaterialsVariantsShoe/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MaterialsVariantsShoe/filament-golden.png index d50792b8db..e19d0c30be 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MaterialsVariantsShoe/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MaterialsVariantsShoe/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-HDR/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-HDR/filament-golden.png index 0f88844b6f..1f1a3dc04d 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-HDR/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-HDR/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-LDR/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-LDR/filament-golden.png index 0ee90ba9cf..09a3f29dcf 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-LDR/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres-LDR/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres/filament-golden.png index a674977439..9ab20d4749 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheres/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheresNoTextures/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheresNoTextures/filament-golden.png index 71644c665d..e4be0e42b9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheresNoTextures/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MetalRoughSpheresNoTextures/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MorphPrimitivesTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MorphPrimitivesTest/filament-golden.png index 4a046ebb25..f53da1b0ab 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MorphPrimitivesTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MorphPrimitivesTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MorphStressTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MorphStressTest/filament-golden.png index 3a9e3bf4fe..83d5b21694 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MorphStressTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MorphStressTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MosquitoInAmber/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MosquitoInAmber/filament-golden.png index 84f98b60b8..ac0e4e2ce2 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MosquitoInAmber/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MosquitoInAmber/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-MultiUVTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-MultiUVTest/filament-golden.png index 065c9c43c9..b707444498 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-MultiUVTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-MultiUVTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentMirrorTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentMirrorTest/filament-golden.png index be67a6d8cd..47ec8117e2 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentMirrorTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentMirrorTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentTest/filament-golden.png index 3e8dbd3882..f296973400 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-NormalTangentTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-OrientationTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-OrientationTest/filament-golden.png index 2d00d7733e..9de1e4c837 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-OrientationTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-OrientationTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-ReciprocatingSaw/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-ReciprocatingSaw/filament-golden.png index 0cd7b43a6b..3b5bf28dbe 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-ReciprocatingSaw/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-ReciprocatingSaw/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-RecursiveSkeletons/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-RecursiveSkeletons/filament-golden.png index dcb70c0753..630ed67a78 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-RecursiveSkeletons/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-RecursiveSkeletons/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-RiggedFigure/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-RiggedFigure/filament-golden.png index b760820c49..6565f5dee3 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-RiggedFigure/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-RiggedFigure/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-RiggedSimple/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-RiggedSimple/filament-golden.png index e3a0c13b5c..842382a5a6 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-RiggedSimple/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-RiggedSimple/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SciFiHelmet/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SciFiHelmet/filament-golden.png index 39e17b3b6b..839e7db32e 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SciFiHelmet/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SciFiHelmet/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SheenChair/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SheenChair/filament-golden.png index c59e55e358..bf4de1372a 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SheenChair/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SheenChair/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SheenCloth/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SheenCloth/filament-golden.png index 91ea9b155d..71a253aba9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SheenCloth/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SheenCloth/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SimpleMeshes/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SimpleMeshes/filament-golden.png index ad29199b07..c26d83845b 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SimpleMeshes/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SimpleMeshes/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SimpleMorph/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SimpleMorph/filament-golden.png index 19db2e0fea..e1caf70146 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SimpleMorph/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SimpleMorph/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SimpleSkin/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SimpleSkin/filament-golden.png index 6a69612bd6..e3447cd71f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SimpleSkin/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SimpleSkin/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SimpleSparseAccessor/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SimpleSparseAccessor/filament-golden.png index ae051bf5a6..1a0bf80657 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SimpleSparseAccessor/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SimpleSparseAccessor/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SpecGlossVsMetalRough/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SpecGlossVsMetalRough/filament-golden.png index c3f3ec2bfa..45c6b91726 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SpecGlossVsMetalRough/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SpecGlossVsMetalRough/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-SpecularTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-SpecularTest/filament-golden.png index b66dd70385..87e3dc16d9 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-SpecularTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-SpecularTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Sponza/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Sponza/filament-golden.png index 82e5bb509e..c65bacea24 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Sponza/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Sponza/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Suzanne/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Suzanne/filament-golden.png index 3141f12a7a..514f5dc454 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Suzanne/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Suzanne/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureCoordinateTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureCoordinateTest/filament-golden.png index 6b2be5281d..e6785f850a 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureCoordinateTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureCoordinateTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureEncodingTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureEncodingTest/filament-golden.png index 4820cc397e..3e5b2f0fbc 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureEncodingTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureEncodingTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureLinearInterpolationTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureLinearInterpolationTest/filament-golden.png index 34338f382a..aa9aa3ab57 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureLinearInterpolationTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureLinearInterpolationTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureSettingsTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureSettingsTest/filament-golden.png index 3d09158cd1..abbc8a1cdd 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureSettingsTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureSettingsTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformMultiTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformMultiTest/filament-golden.png index 18e06d8ea8..269088bf5a 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformMultiTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformMultiTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformTest/filament-golden.png index df376c87fa..1a02a7c243 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TextureTransformTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-ToyCar/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-ToyCar/filament-golden.png index 12c34b6571..434593954f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-ToyCar/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-ToyCar/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TransmissionRoughnessTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TransmissionRoughnessTest/filament-golden.png index 52de84a8b4..f2aeaf9929 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TransmissionRoughnessTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TransmissionRoughnessTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TransmissionTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TransmissionTest/filament-golden.png index e410bae6d0..380f39b649 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TransmissionTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TransmissionTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-Triangle/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-Triangle/filament-golden.png index c2d7bc86fc..99eeec0b8f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-Triangle/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-Triangle/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TriangleWithoutIndices/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TriangleWithoutIndices/filament-golden.png index 1a0d4e3684..99eeec0b8f 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TriangleWithoutIndices/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TriangleWithoutIndices/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-TwoSidedPlane/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-TwoSidedPlane/filament-golden.png index 26c94ad959..4bf226d08e 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-TwoSidedPlane/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-TwoSidedPlane/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-UnlitTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-UnlitTest/filament-golden.png index 2a67c994ab..06e060f1c7 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-UnlitTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-UnlitTest/filament-golden.png differ diff --git a/packages/render-fidelity-tools/test/goldens/khronos-VertexColorTest/filament-golden.png b/packages/render-fidelity-tools/test/goldens/khronos-VertexColorTest/filament-golden.png index b785b1c862..e181ef6411 100644 Binary files a/packages/render-fidelity-tools/test/goldens/khronos-VertexColorTest/filament-golden.png and b/packages/render-fidelity-tools/test/goldens/khronos-VertexColorTest/filament-golden.png differ