Revision 692,
502 bytes
checked in by mattausch, 19 years ago
(diff) |
adding ogre 1.2 and dependencies
|
Line | |
---|
1 | fragment_program Ogre/Compositor/B&W_FP cg
|
---|
2 | {
|
---|
3 | source GrayScale.cg
|
---|
4 | entry_point GrayScale_ps
|
---|
5 | profiles ps_2_0 arbfp1
|
---|
6 | }
|
---|
7 |
|
---|
8 | material Ogre/Compositor/BlackAndWhite
|
---|
9 | {
|
---|
10 | technique
|
---|
11 | {
|
---|
12 |
|
---|
13 | pass
|
---|
14 | {
|
---|
15 | depth_check off
|
---|
16 |
|
---|
17 | vertex_program_ref Ogre/Compositor/StdQuad_vp
|
---|
18 | {
|
---|
19 | }
|
---|
20 |
|
---|
21 | fragment_program_ref Ogre/Compositor/B&W_FP
|
---|
22 | {
|
---|
23 | }
|
---|
24 |
|
---|
25 | texture_unit
|
---|
26 | {
|
---|
27 | texture RT
|
---|
28 | tex_coord_set 0
|
---|
29 | tex_address_mode clamp
|
---|
30 | filtering linear linear linear
|
---|
31 | }
|
---|
32 | }
|
---|
33 | }
|
---|
34 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.