- Home /
Question by
this-play · Jan 11, 2017 at 12:43 PM ·
cameraviewportmatrixdistortion
Distort camera viewport with world space coordinates
Hi guys!
I have this free moving camera and geometry with a hole. (For sketching purposed I use a plane) This hole (everything I see through the hole) needs to always fill the camera viewport fullscreen.
I don't want to distort geometry, I need to distort the projection matrix of the camera itself. I can calculate the screenspace points of the "plane's" four corners. Does anybody know how to proceed?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612104606im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
same visible area regardless of aspect ratio 8 Answers
Camera View Matrix in Script 1 Answer
Camera Distortion effect needed improve (SOLVED) 2 Answers
possible to set rotation of camera viewport? 1 Answer
camera or viewport 2 Answers