Last change
on this file since 5595 was
5312,
checked in by landauf, 16 years ago
|
added shaders (compositors, materials, cg programs and textures)
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Rev | Line | |
---|
[5312] | 1 | fragment_program Ogre/Compositor/OldTV_FP cg |
---|
| 2 | { |
---|
| 3 | source OldTV.cg |
---|
| 4 | entry_point OldTV_ps |
---|
| 5 | profiles ps_2_0 arbfp1 |
---|
| 6 | } |
---|
| 7 | |
---|
| 8 | material Ogre/Compositor/OldTV |
---|
| 9 | { |
---|
| 10 | technique |
---|
| 11 | { |
---|
| 12 | |
---|
| 13 | pass |
---|
| 14 | { |
---|
| 15 | depth_check off |
---|
| 16 | |
---|
| 17 | vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp |
---|
| 18 | { |
---|
| 19 | } |
---|
| 20 | |
---|
| 21 | fragment_program_ref Ogre/Compositor/OldTV_FP |
---|
| 22 | { |
---|
| 23 | param_named_auto time_0_X time_0_x 120 |
---|
| 24 | param_named_auto sin_time_0_X sintime_0_x 120 |
---|
| 25 | |
---|
| 26 | param_named distortionFreq float 2.7 |
---|
| 27 | param_named distortionScale float 2.5 |
---|
| 28 | param_named distortionRoll float 0.93 |
---|
| 29 | param_named interference float 0.5 |
---|
| 30 | param_named frameLimit float 0.40 |
---|
| 31 | param_named frameShape float 0.26 |
---|
| 32 | param_named frameSharpness float 6.0 |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | texture_unit 0 |
---|
| 36 | { |
---|
| 37 | tex_coord_set 0 |
---|
| 38 | tex_address_mode clamp |
---|
| 39 | filtering linear linear linear |
---|
| 40 | } |
---|
| 41 | |
---|
| 42 | texture_unit 1 |
---|
| 43 | { |
---|
| 44 | texture Random3D.dds 3d |
---|
| 45 | tex_coord_set 1 |
---|
| 46 | tex_address_mode wrap |
---|
| 47 | filtering linear linear linear |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | texture_unit 2 |
---|
| 51 | { |
---|
| 52 | texture NoiseVolume.dds 3d |
---|
| 53 | tex_coord_set 2 |
---|
| 54 | tex_address_mode wrap |
---|
| 55 | filtering linear linear linear |
---|
| 56 | } |
---|
| 57 | } |
---|
| 58 | } |
---|
| 59 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.