[SOLVED] Changing camera viewport

I’ve put another image behinde so it “has” the rounded corners but it looks weird, also when the camera rotates the image doesn’t update, it just keeps adding more colors.
image

image
Right after the game loads it’s perfect, but when I rotate the camera it seems like it saves what it rendered into the image element.

Are you clearing the buffer on the second camera?

Maybe that’s the problem. I’m gonna seach how to clear the buffer

Yep, that was it. I just set to true the clearbuffer variable of the camera and it’s working fine. Thanks Yaustar.

oh lol, that even solved the thing with the rounded corners. Because now I could set the color to white so it looks like it’s inside the other image with rounded corners.

1 Like

That’s looking great @Visama! You learn quickly, good job.