Line | |
---|
1 | vertex_program GTP/PathMap_VS hlsl
|
---|
2 | {
|
---|
3 | source PathMap.hlsl
|
---|
4 | entry_point vsWalk
|
---|
5 | target vs_2_0
|
---|
6 | }
|
---|
7 |
|
---|
8 | fragment_program GTP/PathMap_PS hlsl
|
---|
9 | {
|
---|
10 | source PathMap.hlsl
|
---|
11 | entry_point psWalk
|
---|
12 | target ps_3_0
|
---|
13 | flow_control avoid
|
---|
14 | }
|
---|
15 |
|
---|
16 | material PRMDemo/Base
|
---|
17 | {
|
---|
18 | technique maintechnique
|
---|
19 | {
|
---|
20 | pass mainpass
|
---|
21 | {
|
---|
22 | // IllumTechniques
|
---|
23 | // {
|
---|
24 | // RenderTechnique PathMap
|
---|
25 | // {
|
---|
26 |
|
---|
27 | // }
|
---|
28 | //}
|
---|
29 | texture_unit color
|
---|
30 | {
|
---|
31 | colour_op replace
|
---|
32 | }
|
---|
33 | }
|
---|
34 | pass pm
|
---|
35 | {
|
---|
36 | vertex_program_ref GTP/PathMap_VS
|
---|
37 | {
|
---|
38 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
39 | }
|
---|
40 | fragment_program_ref GTP/PathMap_PS
|
---|
41 | {
|
---|
42 | param_named prmAtlasTiles float2 32 1
|
---|
43 | }
|
---|
44 | scene_blend one zero
|
---|
45 | }
|
---|
46 | }
|
---|
47 | }
|
---|
48 |
|
---|
49 |
|
---|
50 | material PRMDemo/rustyMetal : PRMDemo/Base
|
---|
51 | {
|
---|
52 | technique maintechnique
|
---|
53 | {
|
---|
54 | pass mainpass
|
---|
55 | {
|
---|
56 | texture_unit color
|
---|
57 | {
|
---|
58 | texture wrtile.jpg
|
---|
59 | }
|
---|
60 | }
|
---|
61 | }
|
---|
62 | }
|
---|
63 |
|
---|
64 | material PRMDemo/redwire : PRMDemo/Base
|
---|
65 | {
|
---|
66 | technique maintechnique
|
---|
67 | {
|
---|
68 | pass mainpass
|
---|
69 | {
|
---|
70 | texture_unit color
|
---|
71 | {
|
---|
72 | texture redwire.bmp
|
---|
73 | }
|
---|
74 | }
|
---|
75 | }
|
---|
76 | }
|
---|
77 |
|
---|
78 | material PRMDemo/greenwire : PRMDemo/Base
|
---|
79 | {
|
---|
80 | technique maintechnique
|
---|
81 | {
|
---|
82 | pass mainpass
|
---|
83 | {
|
---|
84 | texture_unit color
|
---|
85 | {
|
---|
86 | texture greenwire.bmp
|
---|
87 | }
|
---|
88 | }
|
---|
89 | }
|
---|
90 | }
|
---|
91 |
|
---|
92 | material PRMDemo/whitewire : PRMDemo/Base
|
---|
93 | {
|
---|
94 | technique maintechnique
|
---|
95 | {
|
---|
96 | pass mainpass
|
---|
97 | {
|
---|
98 | texture_unit color
|
---|
99 | {
|
---|
100 | texture whitewire.bmp
|
---|
101 | }
|
---|
102 | }
|
---|
103 | }
|
---|
104 | }
|
---|
105 |
|
---|
106 | material PRMDemo/iron : PRMDemo/Base
|
---|
107 | {
|
---|
108 | technique maintechnique
|
---|
109 | {
|
---|
110 | pass mainpass
|
---|
111 | {
|
---|
112 | texture_unit color
|
---|
113 | {
|
---|
114 | texture w2.jpg
|
---|
115 | }
|
---|
116 | }
|
---|
117 | }
|
---|
118 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.