Last change
on this file since 5522 was
5313,
checked in by landauf, 16 years ago
|
no codechanges, changed eol-style of materials and programs to native
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[5119] | 1 | fragment_program Ogre/Compositor/Combine_fp cg |
---|
| 2 | { |
---|
| 3 | source Combine_fp.cg |
---|
| 4 | profiles ps_2_0 arbfp1 |
---|
| 5 | entry_point Combine_fp |
---|
| 6 | |
---|
| 7 | default_params |
---|
| 8 | { |
---|
[5126] | 9 | param_named blur float 0.7 |
---|
[5119] | 10 | } |
---|
| 11 | } |
---|
| 12 | |
---|
| 13 | material Ogre/Compositor/Combine |
---|
| 14 | { |
---|
| 15 | technique |
---|
| 16 | { |
---|
| 17 | pass |
---|
| 18 | { |
---|
| 19 | depth_check off |
---|
| 20 | |
---|
| 21 | fragment_program_ref Ogre/Compositor/Combine_fp |
---|
| 22 | { |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | vertex_program_ref Ogre/Compositor/StdQuad_Cg_vp |
---|
| 26 | { |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | texture_unit RT |
---|
| 30 | { |
---|
| 31 | tex_address_mode clamp |
---|
| 32 | filtering linear linear none |
---|
| 33 | tex_coord_set 0 |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | texture_unit SUM |
---|
| 37 | { |
---|
| 38 | tex_address_mode clamp |
---|
| 39 | filtering linear linear none |
---|
| 40 | tex_coord_set 0 |
---|
| 41 | } |
---|
| 42 | } |
---|
| 43 | } |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | material Ogre/Compositor/Copyback |
---|
| 47 | { |
---|
| 48 | technique |
---|
| 49 | { |
---|
| 50 | pass |
---|
| 51 | { |
---|
| 52 | lighting off |
---|
| 53 | depth_check off |
---|
| 54 | |
---|
| 55 | texture_unit Temp |
---|
| 56 | { |
---|
| 57 | tex_address_mode clamp |
---|
| 58 | filtering linear linear none |
---|
| 59 | colour_op replace |
---|
| 60 | tex_coord_set 0 |
---|
| 61 | } |
---|
| 62 | } |
---|
| 63 | } |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | material Ogre/Compositor/MotionBlur |
---|
| 67 | { |
---|
| 68 | technique |
---|
| 69 | { |
---|
| 70 | pass |
---|
| 71 | { |
---|
| 72 | lighting off |
---|
| 73 | depth_check off |
---|
| 74 | |
---|
| 75 | texture_unit Sum |
---|
| 76 | { |
---|
| 77 | tex_address_mode clamp |
---|
| 78 | filtering linear linear none |
---|
| 79 | colour_op replace |
---|
| 80 | tex_coord_set 0 |
---|
| 81 | } |
---|
| 82 | } |
---|
| 83 | } |
---|
| 84 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.