How would i go about trying to make scoped weapons…
I would like when a user holds “scope/zoom” key… I do like a halo/cod type zoom where there is a black background with a circle in the middle with crosshairs… you know what i mean…
I just dont know how i would go about doing that…
Would i somehow OVERLAY some mask object that is all black with a circle in the middle and somehow have the ‘camera’ display thru that with some kinda zoom level applied to the FPS Controller’s Main Camera.
And i cant seem to find any docs on doing that kinda stuff with your unity fps game.
Any help would be great.
Here is a discussion on camera field of view and full screen texture.
http://forum.unity3d.com/viewtopic.php?t=27742&highlight=field+view
That does give some idea… but i am hoping someone else had made a scoped weapon view before so i dont go just creating overhead.
How does Unity say Scoped / Zoomed view effects should be done…?
Coincidentally I was sitting around today thinking about how I’d like to make a sniper rifle.
To draw the reticle I would use either a full screen guitexture or Unity - Scripting API: GUI.DrawTexture
The zoom effect can be done by simply lowering the field of view on the camera. The lower the field of view, the larger objects will be appear to be.