유니티

[쉐이더노트] appdata_full

Raypop 2014. 11. 14. 11:53

struct appdata_full {

    float4 vertex : POSITION;

    float4 tangent : TANGENT;

    float3 normal : NORMAL;

    float4 texcoord : TEXCOORD0;

    float4 texcoord1 : TEXCOORD1;

    fixed4 color : COLOR;

#if defined(SHADER_API_XBOX360)

    half4 texcoord2 : TEXCOORD2;

    half4 texcoord3 : TEXCOORD3;

    half4 texcoord4 : TEXCOORD4;

    half4 texcoord5 : TEXCOORD5;

#endif

};