- Home /
Can the camera's viewport be non-rectangular?
I want to be able to magnify objects under the mouse (like a sniper scope) with a 2nd camera viewport. Can I clip this to a circular shape?
Answer by HolBol · Dec 23, 2010 at 04:56 PM
Use a render texture on a circular mesh, you'll need Unity Pro though.
Answer by taoa · Dec 23, 2010 at 03:20 PM
You can't shape the viewport to be a circle, but you can make a post effect (Pro only AFAIK) with a distortion/refraction circular texture that follows the mouse cursor in screen space.
Answer by poncho · Dec 23, 2010 at 06:02 PM
the second camera could have its projection property set to perspective instead of orthographic
Your answer
Follow this Question
Related Questions
possible to set rotation of camera viewport? 1 Answer
camera or viewport 2 Answers
How to make camera position relative to a specific target. 1 Answer
Attach 3d object to screen 1 Answer
Changing Normalized Viewport Rect Coords at Runtime? 1 Answer