Search Unity

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:
    504
    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