Last change
on this file since 7369 was
7369,
checked in by rgrieder, 14 years ago
|
Merged png2 branch back to trunk.
|
-
Property svn:eol-style set to
native
|
File size:
580 bytes
|
Rev | Line | |
---|
[5312] | 1 | fragment_program Ogre/Compositor/GlassFP cg |
---|
| 2 | { |
---|
| 3 | source GlassFP.cg |
---|
| 4 | entry_point main_ps |
---|
| 5 | profiles ps_2_0 arbfp1 |
---|
| 6 | } |
---|
| 7 | |
---|
| 8 | material Ogre/Compositor/GlassPass |
---|
| 9 | { |
---|
| 10 | technique |
---|
| 11 | { |
---|
| 12 | pass |
---|
| 13 | { |
---|
| 14 | depth_check off |
---|
| 15 | |
---|
| 16 | vertex_program_ref Ogre/Compositor/StdQuad_Cg_vp |
---|
| 17 | { |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | fragment_program_ref Ogre/Compositor/GlassFP |
---|
| 21 | { |
---|
| 22 | } |
---|
| 23 | |
---|
| 24 | texture_unit RT |
---|
| 25 | { |
---|
| 26 | tex_coord_set 0 |
---|
| 27 | tex_address_mode clamp |
---|
| 28 | filtering linear linear linear |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | texture_unit |
---|
| 32 | { |
---|
[7369] | 33 | texture WaterNormal1.png 2d |
---|
[5312] | 34 | tex_coord_set 1 |
---|
| 35 | //tex_address_mode clamp |
---|
| 36 | filtering linear linear linear |
---|
| 37 | } |
---|
| 38 | } |
---|
| 39 | } |
---|
| 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.