Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    699
    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.