본문 바로가기
유니티

[쉐이더노트] appdata_full

by Raypop 2014. 11. 14.

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

};

'유니티' 카테고리의 다른 글

[쉐이더노트] Built-in matrices  (0) 2015.01.06
[노트] uv 위치값 변경  (0) 2015.01.06
[쉐이더노트] Surface Shader compile directives  (0) 2014.12.22
[쉐이더노트] input structure  (0) 2014.11.19
[쉐이더노트] SurfaceOutput  (0) 2014.11.19