Search Unity

Question Object Space doesn't seem to work for Sprite Lit Shader anymore...

Discussion in 'Shader Graph' started by andiB, Apr 5, 2021.

  1. andiB

    andiB

    Joined:
    Jan 13, 2013
    Posts:
    26
    I tried to copy the following tutorial just to find out that in the newest version, using the Master Stack plus the Sprite Lit Shader, Object Space behaves like World Space.

    Here is the tutorial:


    Any suggestions?

    EDIT:

    Ok, I found out that it actually works when there is only one SpriteRenderer with an unique SpriteTexture in the scene using my Shader... is there a way to set the flag
    Code (CSharp):
    1. "DisableBatching" = "True"
    thru shader graph?

    If not, adding tags would be an awesome feature to have...
     
    Last edited: Apr 5, 2021