diff --git a/Apps/Playground/ReferenceImages/texture-repetition-pbr-material.png b/Apps/Playground/ReferenceImages/texture-repetition-pbr-material.png new file mode 100644 index 000000000..00e605907 Binary files /dev/null and b/Apps/Playground/ReferenceImages/texture-repetition-pbr-material.png differ diff --git a/Apps/Playground/ReferenceImages/texture-repetition-standard-material.png b/Apps/Playground/ReferenceImages/texture-repetition-standard-material.png new file mode 100644 index 000000000..0c78116f1 Binary files /dev/null and b/Apps/Playground/ReferenceImages/texture-repetition-standard-material.png differ diff --git a/Apps/Playground/Scripts/config.json b/Apps/Playground/Scripts/config.json index f6d345f30..a683402ef 100644 --- a/Apps/Playground/Scripts/config.json +++ b/Apps/Playground/Scripts/config.json @@ -147,6 +147,8 @@ "title": "GUI3D SpherePanel", "playgroundId": "#HB4C01#9", "renderCount": 50, + "threshold": 80, + "errorRatio": 0.25, "referenceImage": "spherepanel.png" }, { @@ -1085,10 +1087,9 @@ }, { "title": "GUI Slate", - "playgroundId": "#2YZFA0#277", + "playgroundId": "#CHDZ5C#1", "renderCount": 60, - "excludeFromAutomaticTesting": true, - "reason": "Pixel comparison fails (more than 20% pixels differ)", + "errorRatio": 0.75, "referenceImage": "guiSlate.png" }, { @@ -1097,6 +1098,8 @@ "renderCount": 60, "excludedGraphicsApis": ["OpenGL"], "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).", + "threshold": 35, + "errorRatio": 0.25, "referenceImage": "guiNearMenu.png" }, { @@ -2330,21 +2333,21 @@ "title": "GUI Gradient Linear", "playgroundId": "#XCPP9Y#17227", "excludeFromAutomaticTesting": true, - "reason": "Pixel comparison fails (more than 20% pixels differ)", + "reason": "bgfx Canvas does not support CanvasGradient values for strokeStyle.", "referenceImage": "GUI-Gradient-Linear.png" }, { "title": "GUI Gradient Radial", "playgroundId": "#4Z7EK3", "excludeFromAutomaticTesting": true, - "reason": "Test crashes or hangs on Babylon Native", + "reason": "bgfx Canvas radial gradients do not implement the supplied two-circle geometry.", "referenceImage": "GUI-Gradient-Radial.png" }, { "title": "GUI Gradient Linear with transparency", "playgroundId": "#PFK1Z5", "excludeFromAutomaticTesting": true, - "reason": "Test crashes or hangs on Babylon Native", + "reason": "bgfx Canvas maps linear-gradient images to fill bounds instead of the requested endpoints.", "referenceImage": "GUI-Gradient-Linear-with-transparency.png" }, { @@ -4045,6 +4048,20 @@ "reason": "Pixel comparison fails (more than 20% pixels differ)", "referenceImage": "Lighting-Volume.png" }, + { + "title": "Texture Repetition - Standard Material", + "playgroundId": "#ESP440#0", + "renderCount": 1, + "errorRatio": 0.1, + "referenceImage": "texture-repetition-standard-material.png" + }, + { + "title": "Texture Repetition - PBR Material", + "playgroundId": "#6EPUUH#0", + "renderCount": 1, + "errorRatio": 1.0, + "referenceImage": "texture-repetition-pbr-material.png" + }, { "title": "Havok FloatingOrigin Multi-Region", "playgroundId": "#BEDCVY",