Search Unity

A Shader Noob and Overlay

Discussion in 'Shaders' started by SweetBro, Aug 22, 2014.

  1. SweetBro

    SweetBro

    Joined:
    Jan 14, 2013
    Posts:
    69
    Okay, so basically I have a simple sprite that I want to be rendered on top everything (short the UI elements). I copied the default sprite shader, and I changed the Queue tag to Overlay, which according to my research should do what I wanted it too. Created a custom mat, applied the shader, aaaand it's behaving like a normal sprite again.

    What did I do wrong?
     
  2. mouurusai

    mouurusai

    Joined:
    Dec 2, 2011
    Posts:
    350
    "Queue"- is about when but not about how. Try "ZTest Always".
     
    SweetBro likes this.
  3. SweetBro

    SweetBro

    Joined:
    Jan 14, 2013
    Posts:
    69
    Thanks! That solved it.