Phaser 3 - Shapes are Pixelated in WebGL

I am drawing lines and circles (with stroke) using scene.add.line and scene.add.circle

I am noticing the with WebGL on all the circles are incredible pixelated. While in CANVAS, they are not. I definitely want to enforce WebGL for this application though.

Any ideas what might be the cause?

Try roundPixels: false in the game config.

Thanks, I think that might have maybe made it a bit better. But I notice some pixelation still as I zoom in.

For context here is my config:

        type: Phaser.WEBGL,
        fps: {
          target: 60,
          min: 30,
          max: 120,
          smoothStep: true
        },
        backgroundColor: theme.palette.background.paper,
        antialias: true,
        pixelArt: false,
        roundPixels: false,
        scale: {
          mode: Phaser.Scale.RESIZE,
          parent: 'area',
          width: 800,
          height: 600,
        }

Actually, I don’t see any pixelation unless I use antialiasGL: false or pixelArt: true.

For Graphics the Canvas and WebGL renderers are quite different, so I think they won’t look identical.

Hm… antialiasGL: false seems to have no effect for me.
I am forcing it to use WEBGL because I want to utilize bitmap stuff that CANVAS can’t do.