Search Unity

Shader in Unity 4.6.3 have problems

Discussion in 'Shaders' started by avi9111, Apr 29, 2018.

  1. avi9111

    avi9111

    Joined:
    Feb 24, 2016
    Posts:
    31
    I got a project with some error srcipts.

    shader was fine.
    but after I fixed up them
    shader got some error, such as
    1.function type parameters not allowed
    2.syntax error, unexpected expecting or at token type name expected at token

    It's seems a common problem, I encounted on them before, also could not fix
    Could any one tell me what's wrong?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,442
    i guess need to see the shader code.. or at least the line where error seems to be.