source: GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/indirectTexturingDefault_hlsl_VP20.shd @ 1493

Revision 1493, 422 bytes checked in by igarcia, 18 years ago (diff)
Line 
1struct VS_OUTPUT {
2   float4 Pos:       POSITION;
3   float2 texCoord:  TEXCOORD0;
4   float2 subTexCoord: TEXCOORD1;
5};
6
7
8float4x4 worldviewproj;
9
10VS_OUTPUT main_vp(
11      float4 position: POSITION,
12      float2 subTexCoord: TEXCOORD0,
13      float4 color: COLOR
14      )
15{
16        VS_OUTPUT Out;
17
18        Out.Pos = mul(worldviewproj, position);
19        Out.subTexCoord = subTexCoord;
20        Out.texCoord = color.xy;
21        return Out;
22}
Note: See TracBrowser for help on using the repository browser.