Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/materials/SharpenEdges.material @ 7708

Last change on this file since 7708 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.0 KB
RevLine 
[5312]1fragment_program Ogre/Compositor/SharpenEdgesFP_cg cg
2{
3        source SharpenEdgesFP.cg
4        entry_point sharpenEdges_fp
5        profiles ps_2_0 arbfp1
6}
7
8fragment_program Ogre/Compositor/SharpenEdgesFP_ps_2_a hlsl
9{
10        source SharpenEdgesFP.cg
11        entry_point sharpenEdges_fp
12        target ps_2_a
13}
14
15fragment_program Ogre/Compositor/SharpenEdgesFP unified
16{
17        delegate Ogre/Compositor/SharpenEdgesFP_ps_2_a
18        delegate Ogre/Compositor/SharpenEdgesFP_cg
19
20        default_params
21        {
22                param_named_auto vTexelSize inverse_texture_size 0
23        }
24}
25
26material Ogre/Compositor/SharpenEdges
27{
28    technique
29    {
30
31                pass
32                {
33                        cull_hardware none
34                        cull_software none
35                        depth_func always_pass
36
37                        //DirectX 9.0 HLSL Vertex Shader vs_1_1
38                        //vertex_program_ref PostFilters/SharpenEdgesVP
39                        //{
40                        //}
41
42                        vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp
43                        {
44                        }
45
46                        //DirectX 9.0 HLSL Pixel Shader ps_2_0
47                        fragment_program_ref Ogre/Compositor/SharpenEdgesFP
48                        {
49                        }
50
51                        texture_unit
52                        {
53                                tex_coord_set 0
54                                tex_address_mode clamp
55                                filtering trilinear
56                        }
57
58                }
59        }
60}
Note: See TracBrowser for help on using the repository browser.