Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

This effect is achieved by Shader?

Discussion in 'Shaders' started by blaze, Jun 6, 2014.

  1. blaze

    blaze

    Joined:
    Dec 21, 2011
    Posts:
    211
    The attack marker starts below player, but get above everything else.
    If yes, tell me the name of what I need to research, please. If not, what could it be?
     
  2. blaze

    blaze

    Joined:
    Dec 21, 2011
    Posts:
    211
  3. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    524
    You can control the rendering order using the shader queue tag. Docs for that are here- http://docs.unity3d.com/Manual/SL-SubshaderTags.html. The downside is that you need duplicate shaders to maintain for each queue.

    Alternatively, you could use multiple cameras and Unity's layer system to control drawing order that way.
     
unityunity