source: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material @ 2293

Revision 2293, 3.7 KB checked in by szirmay, 17 years ago (diff)
RevLine 
[1060]1material Flare
2{
3        technique
4        {
5                pass
6                {
7                        //cull_hardware none                   
8                        lighting off
[1336]9                        scene_blend add
[1060]10                        //scene_blend_op add
11                        //scene_blend_op_alpha add
12                        //scene_blend_alpha add
[1441]13                        //depth_check off
[1060]14                        depth_write off
15
[1336]16                        texture_unit
17                        {
18                                texture flare.png
19                        }
[1060]20                }
21        }
22}
23
[1441]24
25material Examples/EveningSkyBox
26{
27        technique
28        {
29                pass
30                {
31                        lighting off
32                        depth_write off
33
34                        texture_unit
35                        {
[2152]36                                cubic_texture morning.jpg separateUV
[1441]37                                tex_address_mode clamp
38                        }
39                }
40        }
41}
42
[777]43material Examples/MorningSkyBox
44{
45        technique
46        {
47                pass
48                {
[2293]49                        vertex_program_ref GTP/Basic/PlainTex_VS
[1683]50                        {       
[2293]51                                param_named_auto WorldViewProj worldviewproj_matrix     
[1683]52                        }
[2293]53                        fragment_program_ref GTP/Basic/PlainTex2DColored_PS
[1683]54                        {
[2293]55                                param_named color float4 10 10 10 1
[1683]56                        }
[777]57                        depth_write off
58                        texture_unit
59                        {
[1683]60                                cubic_texture Forest.dds separateUV
61                                //cubic_texture morning.jpg separateUV
[777]62                                tex_address_mode clamp
63                        }
64                }
65        }
66}
67
68material GameTools/Rockwall
69{
70        technique
71        {
72                pass
73                {
74                        lighting off
75                        texture_unit
76                        {
77                                texture rockwall.tga
[1519]78                                //env_map cubic_normal
[777]79                                //vertex_texture true
80                        }
81                }
82        }
83}
84
[1081]85material GameTools/Standard
86{
87        technique
88        {
89                pass
90                {
91                        ambient 0.1 0.11 0.15
92                        diffuse 0.8 0.9 1.0
93                }
94        }
95}
96
[1451]97material TestPlane
98{
99        technique
100        {
101                pass
102                {
[2293]103                        //ambient 0.8 0.8 0.8
104                        //diffuse 0.0 0.0 0.0
105                        //specular 0.0 0.0 0.0 0.0
[1629]106                        //lighting off
[1451]107                        IllumTechniques
[1629]108                        {                       
[2284]109                                RenderTechnique CausticReceiver
[1691]110                                {
111                                        max_caster_count        10
112                                }
[2284]113                                //RenderTechnique DepthShadowReceiver
[1629]114                                //{
[1691]115                               
116                                //}                     
117                        }
118                        texture_unit
119                        {
120                                texture rockWall.tga
121                        }
122                               
[1451]123                }
124        }
125}
[777]126
[1131]127material GameTools/Blur
128{
129
130   technique
131   {
132     
133      pass
134      {                 
135                vertex_program_ref GameTools/BlurVS
136        {       
137                     
138            }
139                fragment_program_ref  GameTools/BlurPS
140        {
141                        param_named_auto width viewport_width
142                        param_named_auto height viewport_height
143        }
144        texture_unit
145        {
146                        filtering bilinear
147        }
148       
149       }
150    }
[1424]151}
152
[2024]153material GameTools/BlurLightVolume
154{
155
156   technique
157   {
158     
159      pass
160      {
161        depth_check off
162        cull_hardware none
163        scene_blend alpha_blend
164               
165                vertex_program_ref GameTools/BlurVS
166        {       
167                     
168            }
169                fragment_program_ref  GameTools/CopyPS
170        {
171            param_named_auto width viewport_width
172                        param_named_auto height viewport_height
[2030]173                        param_named alpha float 0.05   
[2024]174        }
175        texture_unit
176        {
177                        filtering bilinear
178        }
179       
180       }
181    }
182}
183
[1691]184material GameTools/BlurCubeFace
185{
186
187   technique
188   {
189     
190      pass
191      {                 
192                vertex_program_ref GameTools/BlurCubeFaceVS
193        {       
194                     
195            }
196                fragment_program_ref  GameTools/BlurCubeFacePS
197        {
198                        param_named_auto width viewport_width
199                        param_named_auto height viewport_height
200                        param_named face float 0
201        }
202        texture_unit
203        {
204                        filtering bilinear
205        }
206       
207       }
208    }
209}
210
[1424]211vertex_program PhaseVS hlsl
212{
213        source GameTools_Phase.hlsl
214        entry_point PhaseVS
215        target vs_2_0
216}
217
218fragment_program Phase_HenyeyGreenSteinPS hlsl
219{
220        source GameTools_Phase.hlsl
221        entry_point HenyeyGreensteinPS
222        target ps_2_0
223}
224
225material Phase_HenyeyGreenStein
226{
227
228   technique
229   {
230     
231      pass
232      {                 
233                vertex_program_ref PhaseVS
234                {       
235                     
236                }
237                fragment_program_ref  Phase_HenyeyGreenSteinPS
238                {
239                               
240                }               
241       
242       }
243    }
[1590]244}
245
246
247
Note: See TracBrowser for help on using the repository browser.