source:
GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/OGRE/IBRTreesOGRE/media/general/indirectTexturingDefault_VP20.cg
@
1493
Revision 1493, 386 bytes checked in by igarcia, 18 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[1493] | 1 | void main_vp( |
2 | float4 position: POSITION, | |
3 | float2 subTexCoord: TEXCOORD0, | |
4 | float4 color: COLOR, | |
5 | uniform float4x4 worldviewproj, | |
6 | out float4 oposition: POSITION, | |
7 | out float2 otexCoord: TEXCOORD0, | |
8 | out float2 osubTexCoord: TEXCOORD1 | |
9 | ) | |
10 | { | |
11 | oposition = mul(worldviewproj, position); | |
12 | osubTexCoord = subTexCoord; | |
13 | otexCoord = color.xy; | |
14 | } |
Note: See TracBrowser
for help on using the repository browser.