Search Unity

  1. Want to see 2020.1b in action? Sign up for our Beta 2020.1 Overview Webinar on April 20th for a live presentation from our evangelists and a Q&A session with guests from R&D.
    Dismiss Notice
  2. Interested in giving us feedback? Join our online research interviews on a broad range of topics and share your insights with us.
    Dismiss Notice
  3. We're hosting a webinar for the new Input System where you'll be able to get in touch with the devs. Sign up now and share your questions with us in preparation for the session on April 15.
    Dismiss Notice
  4. Dismiss Notice

[HDRP] Unlit Shader Draw on Top of Everything (Spaceship demo shader)

Discussion in 'Graphics Experimental Previews' started by zeekindustries, Feb 11, 2019.

  1. zeekindustries

    zeekindustries

    Joined:
    Jun 4, 2010
    Posts:
    19
    Hey everyone,

    I'm trying to get a draw on top everything effect, just like it's seen on the pipes within the VFX Graph spaceship demo.



    What I've tried so far is having an Unlit shader with the following configuration, my first guess was trying to have a fresnel rim, on a transparent shader with a really high render queue, but then found out the it will be clipped anyways and starting from queue 3101 the object will stop being rendered.

    Below some screenshots of where I am at the moment, would really appreciate any help that points me in the right direction with this. We are working on an scan effect that reveals things on the surrounding area, so this effect is quite important to us.

    Thanks a lot!

    Xray_shaderGraph_01.PNG

    Xray_shaderGraph_02.PNG
     
    Mikael-H and andyRogerKats like this.
  2. andyRogerKats

    andyRogerKats

    Joined:
    Oct 3, 2016
    Posts:
    13
    Hey, I am trying to do something similar, did you find a solution yet?
     
  3. andyRogerKats

    andyRogerKats

    Joined:
    Oct 3, 2016
    Posts:
    13
    Actually they may have used the "GUI/Text Shader" -it always renders on top.
     
  4. Mikael-H

    Mikael-H

    Joined:
    Apr 26, 2013
    Posts:
    282
    Did you solve this with HDRP?
     
  5. zeekindustries

    zeekindustries

    Joined:
    Jun 4, 2010
    Posts:
    19
    Sadly, we couldn't really replicate the same effect. In the end what we ended up doing was rendering the objects on a 2nd camera, and then use that result as a mask for a post processing effect that blended on top of the image before the regular PostPro stack in order to keep the bloom.
     
    Mikael-H likes this.
unityunity