- Home /
Question by
VoodooDetective · Apr 17, 2020 at 07:18 AM ·
resolutionscalingaspect ratio
What is the most efficient method of adding letterbox to a 2D game?
I think I found two methods:
Using Camera.rect and a background camera to fill in the pillar/letterbox.
Rendering the camera to a RenderTexture, putting that texture in a canvas, and using aspect ratio fitter.
Two tutorials:
But I don't know which way is most efficient/best. Seems like the first way requires all canvases to be either worldspace or screen space, but not overlay. Not sure the implications there.
Comment