Zooming out with an orthographic camera without using the size functionality?

Sorry if this is the wrong section for this question, but I have a shader that is highly reliant on the size of the orthographic camera being 1. Are there any other ways to zoom out a camera without using the size functionality that the orthographic camera comes with?

You can use a rendertexture or a shader (using grab pass or opaque texture depending on the pipeline)

If Camera.rect or Camera.pixelRect is the same as a viewport, it should be possible to change Camera.orthographicSize if you set a rect that matches the size of the render target.

1 Like