source: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasic.material @ 2040

Revision 2040, 1.8 KB checked in by szirmay, 17 years ago (diff)
Line 
1material GTP/Basic/Plain
2{
3 technique
4 {
5  pass
6  {
7   cull_hardware clockwise   
8   vertex_program_ref GTP/Basic/Plain_VS
9   {
10     param_named_auto WorldViewProj worldviewproj_matrix 
11   }
12   vertex_program_ref GTP/Basic/Plain_PS
13   {   
14   }
15  }
16 }
17}
18
19material GTP/Basic/PlainTex
20{
21 technique
22 {
23  pass
24  {
25   cull_hardware clockwise
26   vertex_program_ref GTP/Basic/PlainTex_VS
27   { 
28     param_named_auto WorldViewProj worldviewproj_matrix     
29   }
30   vertex_program_ref GTP/Basic/PlainTex2D_PS
31   {   
32   }   
33   texture_unit
34   {
35   }
36  }
37 }
38}
39
40material GTP/Basic/Depth
41{
42 technique
43 {
44  pass
45  {
46   cull_hardware clockwise
47   vertex_program_ref GTP/Basic/VPos_VS
48   { 
49     param_named_auto WorldViewProj worldviewproj_matrix     
50   }
51   vertex_program_ref GTP/Basic/VDepth_PS
52   {   
53   }   
54  }
55 }
56}
57
58material GTP/Basic/DepthCCW : GTP/Basic/Depth
59{
60 technique 0
61 {
62  pass 0
63  {
64   cull_hardware anticlockwise   
65  }
66 }
67}
68
69material GTP/Basic/CameraDepth
70{
71 technique
72 {
73  pass
74  {
75   cull_hardware clockwise
76   vertex_program_ref GTP/Basic/CPos_VS
77   { 
78     param_named_auto WorldViewProj worldviewproj_matrix
79     param_named_auto WorldView     worldview_matrix     
80   }
81   vertex_program_ref GTP/Basic/CDepth_PS
82   {   
83   }   
84  }
85 }
86}
87
88material GTP/Basic/Distance
89{
90 technique
91 {
92  pass
93  {
94   cull_hardware clockwise
95   vertex_program_ref GTP/Basic/CPos_VS
96   { 
97     param_named_auto WorldViewProj worldviewproj_matrix     
98     param_named_auto WorldView     worldview_matrix
99   }
100   fragment_program_ref GTP/Basic/CDist_PS
101   {   
102   }   
103  }
104 }
105}
106
107material GTP/Basic/DistanceCCW : GTP/Basic/Distance
108{
109 technique 0
110 {
111  pass 0
112  {
113   cull_hardware anticlockwise   
114  }
115 }
116}
Note: See TracBrowser for help on using the repository browser.