• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by RealSoftGames · Sep 10, 2015 at 08:35 AM · fpsrendertexturezoomsniperzoom-in

Sniper Scope Zoom detailed issues

Hey Guys been working on a project for the past week and a bit and ran into some issues with sniper scopes, though i thought i had combat t$$anonymous$$s problem quite well it seems i ran into another hurdle i need to get over but haven't quite figured it out yet.

target effect

Image of Black ops 3 sniper scope

alt text

Image of CS:GO AUG Scope alt text

t$$anonymous$$s is the effect i am after where you can still see both sides of the view i have ac$$anonymous$$eved t$$anonymous$$s by using a secondary camera  and attatc$$anonymous$$ng a render texture to it and a cylinder for the scope scaled down for the lens.

My Sniper View http://i21.servimg.com/u/f21/19/31/56/72/mycurr10.jpg

My Rifle View http://i21.servimg.com/u/f21/19/31/56/72/mycurr12.jpg

the biggest issue im having with t$$anonymous$$s is the render texture rendering the scope lens, it flickers and is not accurate when i use mouse scroll wheel to change zoom setting however the way i have the lens set up is on a plane in-front of the scope camera, but t$$anonymous$$s does indeed flicker, would anyone have a better solution to render the reticule/lens (the image that is suppose to be on the scope lens), i am also using layers to render to specific cameras such as the weapon is not rendered to the scope cam but is rendered to the main camera.

http://i21.servimg.com/u/f21/19/31/56/72/scopec10.jpg

t$$anonymous$$s allows me to perfectly always shoot ray casts from the center of my screen, even if the scoped weapons (with the second camera and render texture do not align t$$anonymous$$s still shoots perfectly as expected) however the scope glitch is the biggest issue and the way the lens/reticule/Scope Texture gets applied. t$$anonymous$$s works fine if i lock the zoom variable (FOV) to 5 without adjusting it, but i want players to have full control on how they adjust their scope zooms.

any help with t$$anonymous$$s matter would be greatly appreciated.

call-of-duty-black-ops-sniper-score-700x350.jpg (61.3 kB)
oempayb.jpg (252.0 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

28 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why would render textures lag the oculus and not the editor? 2 Answers

Zoom or magnify glass effect without camera. Help!! 0 Answers

Simple FPS camera zoom not working as intended because of the boolean. 1 Answer

How to zoom-in, in VR 0 Answers

How to zoom in a game that happens within the canvas only? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges