diff --git a/src/Magnum/Shaders/Test/DistanceFieldVectorGLTest.cpp b/src/Magnum/Shaders/Test/DistanceFieldVectorGLTest.cpp index 483b6d8da..028559697 100644 --- a/src/Magnum/Shaders/Test/DistanceFieldVectorGLTest.cpp +++ b/src/Magnum/Shaders/Test/DistanceFieldVectorGLTest.cpp @@ -869,14 +869,13 @@ template void DistanceFieldVectorGLTest::ren MAGNUM_VERIFY_NO_GL_ERROR(); - /* Should be almost the same as Shaders::Vector output, but due to various - differences in the SDF output and too sharp default shininess it can't - be exact */ + /* Should be almost the same as Shaders::Vector output, but due to too + sharp default shininess it can't be exact */ CORRADE_COMPARE_WITH( /* Dropping the alpha channel, as it's always 1.0 */ Containers::arrayCast(_framebuffer.read(_framebuffer.viewport(), {PixelFormat::RGBA8Unorm}).pixels()), Utility::Path::join(_testDir, "VectorTestFiles/defaults.tga"), - (DebugTools::CompareImageToFile{_manager, 201.0f, 6.1f})); + (DebugTools::CompareImageToFile{_manager, 131.0f, 1.83f})); #if !(defined(MAGNUM_TARGET_GLES2) && defined(MAGNUM_TARGET_WEBGL)) /* SwiftShader has off-by-one differences on edges, ARM Mali off-by-one in @@ -980,14 +979,13 @@ template void DistanceFieldVectorGLTest::ren MAGNUM_VERIFY_NO_GL_ERROR(); - /* Should be almost the same as Shaders::Vector output, but due to various - differences in the SDF output and too sharp default shininess it can't - be exact */ + /* Should be almost the same as Shaders::Vector output, but due to too + sharp default shininess it can't be exact */ CORRADE_COMPARE_WITH( /* Dropping the alpha channel, as it's always 1.0 */ Containers::arrayCast(_framebuffer.read(_framebuffer.viewport(), {PixelFormat::RGBA8Unorm}).pixels()), Utility::Path::join(_testDir, "VectorTestFiles/defaults.tga"), - (DebugTools::CompareImageToFile{_manager, 201.0f, 6.1f})); + (DebugTools::CompareImageToFile{_manager, 131.0f, 1.83f})); #if !(defined(MAGNUM_TARGET_GLES2) && defined(MAGNUM_TARGET_WEBGL)) /* SwiftShader has off-by-one differences on edges, ARM Mali off-by-one in diff --git a/src/Magnum/Shaders/Test/TestFiles/vector-distancefield.tga b/src/Magnum/Shaders/Test/TestFiles/vector-distancefield.tga index adb78d3c1..a1a92b7a4 100644 Binary files a/src/Magnum/Shaders/Test/TestFiles/vector-distancefield.tga and b/src/Magnum/Shaders/Test/TestFiles/vector-distancefield.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/defaults-distancefield.tga b/src/Magnum/Shaders/Test/VectorTestFiles/defaults-distancefield.tga index f6b007969..fba89076c 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/defaults-distancefield.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/defaults-distancefield.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/multidraw2D-distancefield.tga b/src/Magnum/Shaders/Test/VectorTestFiles/multidraw2D-distancefield.tga index d255dcae9..0c3582b26 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/multidraw2D-distancefield.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/multidraw2D-distancefield.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/multidraw3D-distancefield.tga b/src/Magnum/Shaders/Test/VectorTestFiles/multidraw3D-distancefield.tga index 0e65129a8..277d8d170 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/multidraw3D-distancefield.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/multidraw3D-distancefield.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/outline2D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/outline2D.tga index 9ac9ac875..b1054ec31 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/outline2D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/outline2D.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/outline3D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/outline3D.tga index 057026528..326606b09 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/outline3D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/outline3D.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-2D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-2D.tga index ffea06754..8ce76b60e 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-2D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-2D.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-3D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-3D.tga index 76327db1e..e5c45e1e2 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-3D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.1-3D.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-2D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-2D.tga index 4605cc559..2c26519bf 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-2D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-2D.tga differ diff --git a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-3D.tga b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-3D.tga index 3ed7debb5..d509dbc8d 100644 Binary files a/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-3D.tga and b/src/Magnum/Shaders/Test/VectorTestFiles/smooth0.2-3D.tga differ