Multi view canvases not cleared properly if clearColor transparent?

Sorry no PG as it doesn’t support multiple views/canvases, but when I set scene.clearColor = new Color4(0, 0, 0, 0) i.e. transparent background, with multiple views the canvas isn’t cleared properly and ghosting occurs like this:

As soon as I revert to an opaque clearColor, there is no ghosting.

Am I missing something?

and what if you use Color4(0, 0, 0, 0.001) ?

1 Like

When you call registerView, try to pass true for the clearBeforeCopy parameter and see if that helps.

2 Likes

@Deltakosh Thanks but Color4(0, 0, 0, 0.001) didn’t work.

@Evgeni_Popov I expect the clearBeforeCopy param will work but I notice it only appeared in 5 alpha and I’m using 4.2.0 for the time being. But I’ll mark this as solved. Thanks.

2 Likes