Line | |
---|
1 | struct vsInputTorch
|
---|
2 | {
|
---|
3 | float4 pos : POSITION;
|
---|
4 | };
|
---|
5 |
|
---|
6 | struct vsOutputTorch
|
---|
7 | {
|
---|
8 | float4 pos : POSITION;
|
---|
9 | };
|
---|
10 |
|
---|
11 |
|
---|
12 | vsOutputTorch
|
---|
13 | vsTorch(vsInputTorch input)
|
---|
14 | {
|
---|
15 | vsOutputTorch output = (vsOutputTorch)0;
|
---|
16 | output.pos = mul(input.pos, modelToProjMatrix);
|
---|
17 | return output;
|
---|
18 | }
|
---|
19 |
|
---|
20 |
|
---|
21 | float4
|
---|
22 | psTorch(vsOutputTorch input) : COLOR
|
---|
23 | {
|
---|
24 | return 1;
|
---|
25 | }
|
---|
26 |
|
---|
27 | technique torch{
|
---|
28 | pass P0
|
---|
29 | {
|
---|
30 | VertexShader = compile vs_3_0 vsTorch();
|
---|
31 | PixelShader = compile ps_3_0 psTorch();
|
---|
32 | }
|
---|
33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.