source: GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/diffuseTexturing_VP20.cg @ 821

Revision 821, 421 bytes checked in by igarcia, 18 years ago (diff)
Line 
1void main_vp(
2      float4 position: POSITION,
3      float2 texCoord: TEXCOORD0,
4      float2 subTexCoord: TEXCOORD1,
5      float4 color: COLOR,
6      uniform float4x4 worldviewproj,
7      out float4 oposition: POSITION,
8      out float2 otexCoord: TEXCOORD0,
9      out float2 osubTexCoord: TEXCOORD1
10      )
11{
12        oposition = mul(worldviewproj, position);
13        osubTexCoord = subTexCoord;
14        otexCoord = color.wx;
15}
Note: See TracBrowser for help on using the repository browser.