• 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 /
avatar image
Question by VortexDEV · Jan 29, 2017 at 01:06 PM · c#2dtexturefpssniper

Texture flickering (sniper scope reticle)

Hey, so i'm having some problems with using a 2d image as the reticle of my sniper scope. I've noticed the lines of it keep flickering and disappearing if I set the filter mode to Point and disable mip-maps, but if I enable mip-maps and set it to Bi/Trilinear, the quality of it is very low. Does anyone have any suggestions? Here are some pics

alt text

alt text

screenshot-1.png (119.7 kB)
screenshot-3.png (122.2 kB)
Comment

People who like this

0 Show 7
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
avatar image VortexDEV · Jan 30, 2017 at 05:50 AM 0
Share

Bump (as it was waiting for approval by moderator)

avatar image Bunny83 · Jan 30, 2017 at 05:59 AM 0
Share

What exactly do you use to display that image? The new UI system? a GUITexture?? Something else? Could it be that you use pixel perfect rendering but you use object coordinates which aren't aligned with the actual pixels?

avatar image VortexDEV Bunny83 · Jan 30, 2017 at 06:09 AM 0
Share

It's on a plane with an unlit transparent shader, i've also tried using a screen overlay on the scope camera, same problem

avatar image yogee VortexDEV · Jan 30, 2017 at 06:34 AM 0
Share

try texture type as sprite (2d and ui)

Show more comments
avatar image fafase · Jan 30, 2017 at 07:15 AM 0
Share

What is your near clip plane value? When set too small (close to 0), it creates artefacts and visual issues.

avatar image VortexDEV fafase · Jan 30, 2017 at 07:41 AM 0
Share

I keep it set to 0.01 on my FPV camera, increasing it doesn't seem to make any difference apart from causing clipping on the weapon when aiming

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

10 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

Related Questions

Equivelant of GUI.DrawSprite() ? 0 Answers

Screen Points to construct a Rect (Not axis aligned) 0 Answers

Read only texture 1 Answer

Creating 2d shapes with code and filling them 1 Answer

2D Terrain 1 Answer


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