source: GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPPostProc/GTPPostProc.material @ 2137

Revision 2137, 4.1 KB checked in by szirmay, 17 years ago (diff)
Line 
1material GTP/PostProc/Black
2{
3   technique
4   {
5      pass
6      {
7         vertex_program_ref GTP/PostProc/PostProc_VS
8         {
9       
10         }
11         fragment_program_ref GTP/PostProc/PostProc_Black_PS
12         {
13       
14         }
15       }
16    }
17}
18
19material GTP/PostProc/Copy
20{
21   technique
22   {
23      pass
24      {
25        vertex_program_ref GTP/PostProc/PostProc_VS
26        {
27       
28        }
29        fragment_program_ref GTP/PostProc/Copy_PS
30        {
31                param_named_auto width viewport_width   
32                param_named_auto height viewport_height
33               
34        }
35        texture_unit
36        {
37           // filtering none   
38        }               
39      }
40   }
41}
42
43material GTP/PostProc/Add
44{
45   technique
46   {
47      pass
48      {
49         vertex_program_ref GTP/PostProc/PostProc_VS
50         {
51       
52         }
53         fragment_program_ref GTP/PostProc/Add_PS
54         {
55             param_named_auto width viewport_width     
56             param_named_auto height viewport_height
57         }
58         texture_unit
59         {
60           // filtering none     
61         }
62         texture_unit
63         {
64           // filtering none   
65         }
66      }
67   }
68}
69
70material GTP/PostProc/Luminance
71{
72   technique
73   {
74      pass
75      {
76         vertex_program_ref GTP/PostProc/PostProc_VS
77         {
78       
79         }
80         fragment_program_ref GTP/PostProc/Luminance_PS
81         {
82           param_named_auto width viewport_width       
83           param_named_auto height viewport_height             
84         }
85         
86         texture_unit
87         {
88            //filtering none   
89         }               
90               
91      }
92   }
93}
94
95material GTP/PostProc/GlowCut
96{
97   technique
98   {
99      pass
100      {
101        vertex_program_ref GTP/PostProc/PostProc_VS
102        {       
103        }
104        fragment_program_ref GTP/PostProc/GlowCut_PS
105        {
106                param_named_auto width viewport_width   
107                param_named_auto height viewport_height
108                param_named cutValue float 35.0
109                //param_named cutValue float 4.5
110                param_named timeBlur float 0.4         
111        }
112        texture_unit
113        {
114            //filtering none
115        }
116        texture_unit
117        {
118            //filtering none
119        }       
120      }
121   }
122}
123
124material GTP/PostProc/GlowBlurH
125{
126   technique
127   {
128      pass
129      {
130         vertex_program_ref GTP/PostProc/PostProc_VS
131         {
132       
133         }
134         fragment_program_ref GTP/PostProc/GlowBlurH_PS
135         {
136           param_named_auto width viewport_width       
137           param_named_auto height viewport_height
138           param_named Stretch float 1.3           
139         }
140
141         texture_unit
142         {
143            tex_address_mode mirror
144         }                     
145      }
146   }
147}
148
149material GTP/PostProc/GlowBlurV
150{
151   technique
152   {
153      pass
154      {
155         vertex_program_ref GTP/PostProc/PostProc_VS
156         {
157       
158         }
159         fragment_program_ref GTP/PostProc/GlowBlurV_PS
160         {
161                param_named_auto width viewport_width   
162                param_named_auto height viewport_height
163                param_named Stretch float 1.3         
164         }
165         texture_unit
166         {
167             tex_address_mode mirror
168             
169         }               
170      }
171   }
172}
173
174material GTP/PostProc/GlowBlurH_TB
175{
176   technique
177   {
178      pass
179      {
180        scene_blend alpha_blend
181        vertex_program_ref GTP/PostProc/PostProc_VS
182        {       
183        }
184        fragment_program_ref GTP/PostProc/GlowBlurH_PS
185        {
186          param_named_auto width viewport_width         
187          param_named_auto height viewport_height
188          param_named Stretch float 1.2
189          param_named timeBlur float 0.025
190        }
191        texture_unit
192        {
193          tex_address_mode mirror
194        }               
195      }
196   }
197}
198
199material GTP/PostProc/ToneMap
200{
201   technique
202   {
203      pass
204      {
205         vertex_program_ref GTP/PostProc/PostProc_VS
206         {
207       
208         }
209         fragment_program_ref GTP/PostProc/ToneMap_PS
210         {
211                param_named_auto width viewport_width   
212                param_named_auto height viewport_height
213                param_named Gain float 0.5
214         }
215       
216         texture_unit
217         {
218           // filtering none
219         }
220         texture_unit
221         {
222           // filtering none   
223         }
224         texture_unit
225         {
226           // filtering none
227         }
228         texture_unit
229         {
230           // filtering none
231         }
232      }
233   }
234}
Note: See TracBrowser for help on using the repository browser.