source:
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDefault_hlsl_VP20.shd
@
821
Revision 821, 422 bytes checked in by igarcia, 19 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[821] | 1 | struct VS_OUTPUT { |
2 | float4 Pos: POSITION; | |
3 | float2 texCoord: TEXCOORD0; | |
4 | float2 subTexCoord: TEXCOORD1; | |
5 | }; | |
6 | ||
7 | ||
8 | float4x4 worldviewproj; | |
9 | ||
10 | VS_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.