Last change
on this file since 72 was
44,
checked in by bknecht, 17 years ago
|
merge from tutorial branche to trunk
|
-
Property svn:executable set to
*
|
File size:
1.8 KB
|
Line | |
---|
1 | // Post processors |
---|
2 | |
---|
3 | material DeferredShading/Post/Multi |
---|
4 | { |
---|
5 | technique |
---|
6 | { |
---|
7 | pass |
---|
8 | { |
---|
9 | // Ambient and depth write pass |
---|
10 | cull_hardware none |
---|
11 | cull_software none |
---|
12 | //depth_check off |
---|
13 | depth_write on |
---|
14 | |
---|
15 | fragment_program_ref DeferredShading/post/hlsl/Ambient_ps |
---|
16 | { |
---|
17 | } |
---|
18 | vertex_program_ref DeferredShading/post/hlsl/vs |
---|
19 | { |
---|
20 | } |
---|
21 | texture_unit |
---|
22 | { |
---|
23 | tex_address_mode clamp |
---|
24 | filtering none |
---|
25 | } |
---|
26 | texture_unit |
---|
27 | { |
---|
28 | tex_coord_set 1 |
---|
29 | tex_address_mode clamp |
---|
30 | filtering none |
---|
31 | } |
---|
32 | } |
---|
33 | pass |
---|
34 | { |
---|
35 | scene_blend add |
---|
36 | cull_hardware none |
---|
37 | cull_software none |
---|
38 | iteration once_per_light |
---|
39 | depth_write off |
---|
40 | //depth_check off |
---|
41 | |
---|
42 | fragment_program_ref DeferredShading/post/hlsl/GlobalLight_ps |
---|
43 | { |
---|
44 | } |
---|
45 | vertex_program_ref DeferredShading/post/hlsl/vs |
---|
46 | { |
---|
47 | } |
---|
48 | texture_unit |
---|
49 | { |
---|
50 | tex_address_mode clamp |
---|
51 | filtering none |
---|
52 | } |
---|
53 | texture_unit |
---|
54 | { |
---|
55 | tex_coord_set 1 |
---|
56 | tex_address_mode clamp |
---|
57 | filtering none |
---|
58 | } |
---|
59 | } |
---|
60 | } |
---|
61 | technique |
---|
62 | { |
---|
63 | pass |
---|
64 | { |
---|
65 | // Ambient and depth write pass |
---|
66 | cull_hardware none |
---|
67 | cull_software none |
---|
68 | //depth_check off |
---|
69 | depth_write on |
---|
70 | |
---|
71 | fragment_program_ref DeferredShading/post/glsl/Ambient_ps |
---|
72 | { |
---|
73 | } |
---|
74 | vertex_program_ref DeferredShading/post/glsl/vs |
---|
75 | { |
---|
76 | } |
---|
77 | texture_unit |
---|
78 | { |
---|
79 | tex_address_mode clamp |
---|
80 | filtering none |
---|
81 | } |
---|
82 | texture_unit |
---|
83 | { |
---|
84 | tex_coord_set 1 |
---|
85 | tex_address_mode clamp |
---|
86 | filtering none |
---|
87 | } |
---|
88 | } |
---|
89 | pass |
---|
90 | { |
---|
91 | scene_blend add |
---|
92 | cull_hardware none |
---|
93 | cull_software none |
---|
94 | iteration once_per_light |
---|
95 | depth_write off |
---|
96 | depth_check off |
---|
97 | |
---|
98 | fragment_program_ref DeferredShading/post/glsl/GlobalLight_ps |
---|
99 | { |
---|
100 | } |
---|
101 | vertex_program_ref DeferredShading/post/glsl/vs |
---|
102 | { |
---|
103 | } |
---|
104 | texture_unit |
---|
105 | { |
---|
106 | tex_address_mode clamp |
---|
107 | filtering none |
---|
108 | } |
---|
109 | texture_unit |
---|
110 | { |
---|
111 | tex_coord_set 1 |
---|
112 | tex_address_mode clamp |
---|
113 | filtering none |
---|
114 | } |
---|
115 | } |
---|
116 | } |
---|
117 | } |
---|
118 | |
---|
Note: See
TracBrowser
for help on using the repository browser.