Search Unity

My Shader's Aren't Working Please Help

Discussion in 'Shaders' started by VikVillince, Oct 29, 2020.

  1. VikVillince

    VikVillince

    Joined:
    Mar 2, 2019
    Posts:
    1
    I have these shaders here and none of them are working at all in Unity. They give me the error,
    Parse error: syntax error, unexpected TVAL_ID, expecting TOK_SETTEXTURE or '}'

    What Am I doing wrong???
     

    Attached Files:

  2. Invertex

    Invertex

    Joined:
    Nov 7, 2013
    Posts:
    1,550
    The problem is that these aren't "your shaders" most likely. Since what you've posted are the compiled versions of the shaders, which Unity isn't going to import. You can't just rip assets from a game and expect the compiled shaders to simply import.