Hi, I have two problems with rendering camera to texture using camera setRenderToTexture method.
- Rendered texture size
Everything works fine until zoom out camera. Then you can see that the texture drawn on canvas is smaller than the canvas (but the world is scaled correctly).
I thought that there is a problem with my shader used in pipeline, but when using setRenderToTexture without pipeline the problem is the same.
- When I enlarge viewport (browser window) texture has no glitches, but when I reduce it (width or height) the texture starts to look weird (looks like some wrong UVs).
Thank You for any help on how to handle this problem (or debug it).