Search Unity

[FREE] Holographic sight shader

Discussion in 'Made With Unity' started by Vashchuk, Apr 5, 2018.

  1. Vashchuk

    Vashchuk

    Joined:
    May 24, 2012
    Posts:
    27
    Hey.
    I did this holographic / red dot / collimator sight shader and I think it might be handy for those of you who work on some fps kind of project.

    Download
    Also check out my twitter for more free stuff:)
     
    Puftii, _Auron_, Briner and 1 other person like this.
  2. PrincesStancy

    PrincesStancy

    Joined:
    Jul 3, 2018
    Posts:
    2
    Hii.. We are using your shader in our project for Head Up Displays.. It is working fine in the Lateral axis(left and right) but not in the vertical axis (up and down). It appears as if the displays are zoomed in which shouldn't happen.. Any suggestions on how to overcome it??
     
  3. Vashchuk

    Vashchuk

    Joined:
    May 24, 2012
    Posts:
    27
    Hey. I believe you should try to change orientation of your mesh. To make it work correctly make your mesh face local Z forward to your camera, Y up and X side
     
  4. PrincesStancy

    PrincesStancy

    Joined:
    Jul 3, 2018
    Posts:
    2
    Mesh was the problem for odd positioning behaviour. Now The edges of the Texture is getting stretched to infinity.. How can i stop that?
     
  5. Vashchuk

    Vashchuk

    Joined:
    May 24, 2012
    Posts:
    27
    Try changing import settings of the texture, setting wrap mode to clamp should fix that.
     
  6. GWStudio

    GWStudio

    Joined:
    Sep 27, 2016
    Posts:
    109
    not working with HDRP can u remake it to work with HDRP!?
     
  7. RPKMN1

    RPKMN1

    Joined:
    Feb 13, 2017
    Posts:
    36
    I was really struggling to figure out how to do this. thanks so much!
     
  8. UnNamedDev-Mancave

    UnNamedDev-Mancave

    Joined:
    Jan 27, 2022
    Posts:
    1
    Hi I'm struggling convert this to URP can you help me with this?
     
  9. zombiepepega

    zombiepepega

    Joined:
    Apr 8, 2021
    Posts:
    2
    yo, for VR games this doesn't show in the right eye at all
     
  10. Vashchuk

    Vashchuk

    Joined:
    May 24, 2012
    Posts:
    27
    Hey, I'm glad it helped some of you! Regarding VR and URP I'll take a look at it when I have some free time.