Last change
on this file since 11790 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:
606 bytes
|
Rev | Line | |
---|
[5312] | 1 | fragment_program Ogre/Compositor/TilingFP cg |
---|
| 2 | { |
---|
| 3 | source TilingFP.cg |
---|
| 4 | entry_point Tiling_ps |
---|
| 5 | profiles ps_2_0 arbfp1 |
---|
| 6 | } |
---|
| 7 | |
---|
| 8 | material Ogre/Compositor/Tiling |
---|
| 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 | //DirectX 9.0 HLSL Pixel Shader ps_2_0 |
---|
| 24 | fragment_program_ref Ogre/Compositor/TilingFP |
---|
| 25 | { |
---|
| 26 | param_named NumTiles float 75.0 |
---|
| 27 | param_named Threshhold float 0.15 |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | texture_unit RT |
---|
| 31 | { |
---|
| 32 | tex_coord_set 0 |
---|
| 33 | tex_address_mode clamp |
---|
| 34 | filtering trilinear |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | } |
---|
| 38 | } |
---|
| 39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.