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

Revision 2024, 4.2 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 10.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.5
139           //param_named timeBlur float 0.5
140         }
141
142         texture_unit
143         {
144            tex_address_mode mirror
145         }                     
146      }
147   }
148}
149
150material GTP/PostProc/GlowBlurV
151{
152   technique
153   {
154      pass
155      {
156         vertex_program_ref GTP/PostProc/PostProc_VS
157         {
158       
159         }
160         fragment_program_ref GTP/PostProc/GlowBlurV_PS
161         {
162                param_named_auto width viewport_width   
163                param_named_auto height viewport_height
164                param_named Stretch float 1.5
165                // param_named timeBlur float 0.5
166         }
167         texture_unit
168         {
169             tex_address_mode mirror
170             
171         }               
172      }
173   }
174}
175
176material GTP/PostProc/GlowBlurH_TB
177{
178   technique
179   {
180      pass
181      {
182        scene_blend alpha_blend
183        vertex_program_ref GTP/PostProc/PostProc_VS
184        {       
185        }
186        fragment_program_ref GTP/PostProc/GlowBlurH_PS
187        {
188          param_named_auto width viewport_width         
189          param_named_auto height viewport_height
190          param_named Stretch float 1.2
191          param_named timeBlur float 0.025
192        }
193        texture_unit
194        {
195          tex_address_mode mirror
196        }               
197      }
198   }
199}
200
201material GTP/PostProc/ToneMap
202{
203   technique
204   {
205      pass
206      {
207         vertex_program_ref GTP/PostProc/PostProc_VS
208         {
209       
210         }
211         fragment_program_ref GTP/PostProc/ToneMap_PS
212         {
213                param_named_auto width viewport_width   
214                param_named_auto height viewport_height
215                param_named Gain float 0.5
216         }
217       
218         texture_unit
219         {
220           // filtering none
221         }
222         texture_unit
223         {
224           // filtering none   
225         }
226         texture_unit
227         {
228           // filtering none
229         }
230         texture_unit
231         {
232           // filtering none
233         }
234      }
235   }
236}
Note: See TracBrowser for help on using the repository browser.