Search Unity

Program 'vert_surf', output semantic attribute "TEXCOORD" has too big of a numeric in

Discussion in 'Shaders' started by the_gnoblin, Oct 20, 2010.

  1. the_gnoblin

    the_gnoblin

    Joined:
    Jan 10, 2009
    Posts:
    722
    What does this error mean?

    Code (csharp):
    1. Program 'vert_surf', output semantic attribute "TEXCOORD" has too big of a numeric index (8)
    I have almost identical one about 'frag_surf'

    thank you
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    you can not have more than 8 sets of UV coords on a vertex I think -> index 0 to 7
    on the texture side it can have up to 16 coord sets because you can push through 16 textures per pass on some hardware and you need to be able to extract data from them.

    technically unity does not import more than 2 uv sets per vertex from an fbx anyway.