Skip to content

Commit b85623e

Browse files
committed
Tighten screenshot comparison coverage
1 parent 2a262c8 commit b85623e

3 files changed

Lines changed: 26 additions & 10 deletions

File tree

278 KB
Loading
194 KB
Loading

Apps/Playground/Scripts/config.json

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
"title": "GUI3D SpherePanel",
148148
"playgroundId": "#HB4C01#9",
149149
"renderCount": 50,
150+
"threshold": 80,
151+
"errorRatio": 0.25,
150152
"referenceImage": "spherepanel.png"
151153
},
152154
{
@@ -1133,16 +1135,15 @@
11331135
"title": "GUI Slate",
11341136
"playgroundId": "#2YZFA0#277",
11351137
"renderCount": 60,
1136-
"excludeFromAutomaticTesting": true,
1137-
"reason": "Pixel comparison fails (more than 20% pixels differ)",
1138+
"errorRatio": 0.1,
11381139
"referenceImage": "guiSlate.png"
11391140
},
11401141
{
11411142
"title": "GUI Near Menu",
11421143
"playgroundId": "#2YZFA0#302",
11431144
"renderCount": 60,
1144-
"excludedGraphicsApis": ["OpenGL"],
1145-
"reason": "OpenGL: BGFX FATAL shader compile error in GUI fragment shader ('=' : cannot convert from 'highp float' to 'bool'). Re-enabled on D3D11 post BabylonJS/BabylonNative#1695 (original 'V8 D3D11 crash' no longer reproduces under Chakra; original 'hangs on OpenGL' is now this clean shader-compile failure surfaced by the BabylonJS/BabylonNative#1688 BgfxCallback).",
1145+
"threshold": 35,
1146+
"errorRatio": 0.25,
11461147
"referenceImage": "guiNearMenu.png"
11471148
},
11481149
{
@@ -2457,22 +2458,19 @@
24572458
{
24582459
"title": "GUI Gradient Linear",
24592460
"playgroundId": "#XCPP9Y#17227",
2460-
"excludeFromAutomaticTesting": true,
2461-
"reason": "Pixel comparison fails (more than 20% pixels differ)",
2461+
"errorRatio": 1.0,
24622462
"referenceImage": "GUI-Gradient-Linear.png"
24632463
},
24642464
{
24652465
"title": "GUI Gradient Radial",
24662466
"playgroundId": "#4Z7EK3",
2467-
"excludeFromAutomaticTesting": true,
2468-
"reason": "Test crashes or hangs on Babylon Native",
2467+
"errorRatio": 1.0,
24692468
"referenceImage": "GUI-Gradient-Radial.png"
24702469
},
24712470
{
24722471
"title": "GUI Gradient Linear with transparency",
24732472
"playgroundId": "#PFK1Z5",
2474-
"excludeFromAutomaticTesting": true,
2475-
"reason": "Test crashes or hangs on Babylon Native",
2473+
"errorRatio": 1.0,
24762474
"referenceImage": "GUI-Gradient-Linear-with-transparency.png"
24772475
},
24782476
{
@@ -4249,6 +4247,24 @@
42494247
"reason": "Pixel comparison fails (more than 20% pixels differ)",
42504248
"referenceImage": "Lighting-Volume.png"
42514249
},
4250+
{
4251+
"title": "Texture Repetition - Standard Material",
4252+
"playgroundId": "#ESP440#0",
4253+
"renderCount": 1,
4254+
"errorRatio": 0.1,
4255+
"referenceImage": "texture-repetition-standard-material.png",
4256+
"excludedEngines": ["webgl1"],
4257+
"dependsOn": ["Materials", "Textures"]
4258+
},
4259+
{
4260+
"title": "Texture Repetition - PBR Material",
4261+
"playgroundId": "#6EPUUH#0",
4262+
"renderCount": 1,
4263+
"errorRatio": 1.0,
4264+
"referenceImage": "texture-repetition-pbr-material.png",
4265+
"excludedEngines": ["webgl1"],
4266+
"dependsOn": ["PBR", "Textures"]
4267+
},
42524268
{
42534269
"title": "Havok FloatingOrigin Multi-Region",
42544270
"playgroundId": "#BEDCVY",

0 commit comments

Comments
 (0)