Playwright real-GPU WebGL screenshots on macOS via offscreen headed window
Headless Chromium with --enable-unsafe-swiftshader renders WebGL in software, and software output can show different artifacts from a real GPU. To check against real hardware, launch with chromium.launch({ channel: 'chrome', headless: false, args: ['--window-position=4000,4000'] }). The window opens off-screen and the renderer reports "ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Pro...)". Compare captures from both paths before deciding whether a shading artifact comes from the geometry or from the rasterizer.
To confirm which renderer you actually got, read the WEBGL_debug_renderer_info extension (UNMASKED_RENDERER_WEBGL) in the page, or open chrome://gpu in the headed window. If it still reports SwiftShader, flags such as --ignore-gpu-blocklist may be worth trying.