Last change
on this file since 8968 was
7708,
checked in by dafrick, 14 years ago
|
Merging cleanup branch. You will need to update your data repository as well as your local copy of the code.
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[5312] | 1 | fragment_program Ogre/Compositor/OldMovieFP cg |
---|
| 2 | { |
---|
| 3 | source OldMovieFP.cg |
---|
| 4 | entry_point OldMovie_ps |
---|
| 5 | profiles ps_2_0 arbfp1 |
---|
| 6 | } |
---|
| 7 | |
---|
| 8 | material Ogre/Compositor/OldMovie |
---|
| 9 | { |
---|
| 10 | technique |
---|
| 11 | { |
---|
| 12 | |
---|
| 13 | pass |
---|
| 14 | { |
---|
| 15 | cull_hardware none |
---|
| 16 | cull_software none |
---|
| 17 | depth_func always_pass |
---|
| 18 | |
---|
| 19 | vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp |
---|
| 20 | { |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | fragment_program_ref Ogre/Compositor/OldMovieFP |
---|
| 24 | { |
---|
| 25 | param_named_auto time_cycle_period time 20 |
---|
| 26 | param_named flicker float 0.4 |
---|
| 27 | param_named DirtFrequency float 0.0005 |
---|
| 28 | param_named luminance float3 0.30 0.59 0.11 |
---|
| 29 | param_named frameJitter float 0.004 |
---|
| 30 | param_named lumiShift float 0.03 |
---|
| 31 | } |
---|
| 32 | |
---|
| 33 | texture_unit RT |
---|
| 34 | { |
---|
| 35 | tex_coord_set 0 |
---|
| 36 | tex_address_mode clamp |
---|
| 37 | filtering trilinear |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | texture_unit SplotchesTx |
---|
| 41 | { |
---|
| 42 | texture 8x8PagesSplotches2.png 2d |
---|
| 43 | tex_coord_set 1 |
---|
| 44 | tex_address_mode wrap |
---|
| 45 | filtering trilinear |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | texture_unit |
---|
| 49 | { |
---|
| 50 | texture 1D_Noise.png 1d |
---|
| 51 | tex_coord_set 2 |
---|
| 52 | tex_address_mode wrap |
---|
| 53 | filtering point point none |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | texture_unit SepiaTx |
---|
| 58 | { |
---|
[7369] | 59 | texture Sepia1D.png 1d |
---|
[5312] | 60 | tex_coord_set 3 |
---|
| 61 | tex_address_mode mirror |
---|
| 62 | filtering point point none |
---|
| 63 | } |
---|
| 64 | |
---|
| 65 | } |
---|
| 66 | } |
---|
| 67 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.