[SOLVED] CameraFrame constructor causes washed out colors and loss of blacks

Hi everyone,

I’m experiencing a strange issue when using pc.CameraFrame in PlayCanvas

Problem:
When I create a CameraFrame, the scene immediately becomes washed out with loss of deep blacks, even with a minimal setup:

const frame = new pc.CameraFrame(app, cameraEntity.camera);
// Scene is already washed out HERE - before calling frame.update()
  • Engine version: 2.14.3

Key finding:
The issue occurs immediately when constructing the CameraFrame, even before calling frame.update(). This suggests the constructor itself is modifying camera or rendering state in a way that affects the final output.

Screenshots:

Has anyone else encountered this? Is there a specific configuration needed to preserve the original scene appearance when using CameraFrame?

Any help would be greatly appreciated!

cc @mvaligursky

CameraFrame rendering forces HDR mode, and so sets up the camera to use gamma 2.2.

Is that the setting on the camera you had before?

Also check out the tonemapping setting.

Since I used the default configuration probably I was using 1.0 gamma

To use camera frame, you need to use 2.2, as it’s all HDR linear workflow based. It does not support 1.0.

1 Like

Thank you the problem was only with the background color.

1 Like