Last change
on this file since 6563 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:
567 bytes
|
Line | |
---|
1 | fragment_program Ogre/Compositor/LaplaceFP cg |
---|
2 | { |
---|
3 | source LaplaceFP.cg |
---|
4 | entry_point Laplace_ps |
---|
5 | profiles ps_2_0 arbfp1 |
---|
6 | } |
---|
7 | |
---|
8 | material Ogre/Compositor/Laplace |
---|
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 | fragment_program_ref Ogre/Compositor/LaplaceFP |
---|
24 | { |
---|
25 | param_named pixelSize float 0.0031 |
---|
26 | param_named scale float 1.0 |
---|
27 | } |
---|
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.