Trying to bind current color buffer as a texture

Hi, I’m trying to render the camera view into a texture without using the layers method

I have successfully done this on a blank project, even with multiple cameras
https://playcanvas.com/project/1057993/overview/test

For some unknown reason, I get an error in another project, it does work but throws:
Trying to bind current color buffer as a texture
https://playcanvas.com/project/1058192/overview/test

What am I missing? Thank you

I think it’s a circular reference. You are trying to render the texture in itself. It works in the your first test scene because the texture that you are binding the camera view into isn’t in view of the camera.

Got it, should I just leave it as it is? Won’t this cause some negative effects or errors in the published build?

No, you need to fix this.

1 Like