Camera only see the central part


In the camera, I want the camera to wear a mask so it only sees the circle around a centre;
For some period. I want the mask to gradually disappear so the camera back to normal;
Is it possible?

Like this?

1 Like

This playground looks good! BABYLON.DefaultRenderingPipeline change the background colour, it supposes to be dark blue, after enable it to change to light blue. I only want the vignette without changing camera view property.

The color change comes from this line :wink:

scene.clearColor = new BABYLON.Color3(0.5, 0.5, 0.75).toLinearSpace();

Can make it any color you want. For reference the dark blue you normally see is Color3(0.2, 0.2, 0.3)

1 Like

thanks for your response. It turns out DefaultRenderingPipeline will modify the camera; If you toggle line 13, the background will change.

This might help as well Camera block left and right side - #2 by sebavan

1 Like