Last change
on this file since 10223 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:
573 bytes
|
Line | |
---|
1 | //Cg Pixel Shader ps_2_0 |
---|
2 | fragment_program Radial_Blur_ps_cg cg |
---|
3 | { |
---|
4 | source Radial_Blur_FP.cg |
---|
5 | profiles ps_2_0 arbfp1 |
---|
6 | entry_point main |
---|
7 | |
---|
8 | } |
---|
9 | |
---|
10 | |
---|
11 | //Effect: Radial Blur |
---|
12 | material Ogre/Compositor/Radial_Blur |
---|
13 | { |
---|
14 | technique |
---|
15 | { |
---|
16 | pass |
---|
17 | { |
---|
18 | //State: D3DRS_CULLMODE, Value : D3DCULL_NONE |
---|
19 | cull_hardware none |
---|
20 | cull_software none |
---|
21 | depth_check off |
---|
22 | |
---|
23 | fragment_program_ref Radial_Blur_ps_cg |
---|
24 | { |
---|
25 | param_named sampleDist float 0.5 |
---|
26 | param_named sampleStrength float 2.2 |
---|
27 | } |
---|
28 | texture_unit |
---|
29 | { |
---|
30 | tex_coord_set 0 |
---|
31 | tex_address_mode clamp |
---|
32 | filtering trilinear |
---|
33 | } |
---|
34 | } |
---|
35 | } |
---|
36 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.