I use V1::OverlaySystem to render 2D images. I created two windows, but the OverlaySystem is a singleton, causing my two windows to render the same image.
My rendering process is to load two pictures into two temporary textures, and then render the temporary textures to RenderTexture, because text needs to be drawn on the temporary textures. After drawing the text, render the RenderTexture to the window.
At this time, my two windows display the same picture. It seems that it is caused by the same OverlaySystem when it is presented?
I use V1::OverlaySystem to render 2D images. I created two windows, but the OverlaySystem is a singleton, causing my two windows to render the same image. My rendering process is to load two pictures into two temporary textures, and then render the temporary textures to RenderTexture, because text needs to be drawn on the temporary textures. After drawing the text, render the RenderTexture to the window. At this time, my two windows display the same picture. It seems that it is caused by the same OverlaySystem when it is presented?