1 | material GTP/Diffuse/ReduceCubeMap
|
---|
2 | {
|
---|
3 | technique
|
---|
4 | {
|
---|
5 | pass
|
---|
6 | {
|
---|
7 | vertex_program_ref GTP/Basic/MPos_NoTransform_VS
|
---|
8 | {
|
---|
9 |
|
---|
10 | }
|
---|
11 | fragment_program_ref GTP/Diffuse/ReduceCubeMap_PS
|
---|
12 | {
|
---|
13 | param_named nFace int 0
|
---|
14 | }
|
---|
15 | texture_unit
|
---|
16 | {
|
---|
17 |
|
---|
18 | }
|
---|
19 | }
|
---|
20 | }
|
---|
21 | }
|
---|
22 |
|
---|
23 | material GTP/Diffuse/Poly2Point
|
---|
24 | {
|
---|
25 | technique
|
---|
26 | {
|
---|
27 |
|
---|
28 | pass
|
---|
29 | {
|
---|
30 | //scene_blend add
|
---|
31 | IllumTechniques
|
---|
32 | {
|
---|
33 |
|
---|
34 | RenderTechnique DistanceCubeMap
|
---|
35 | {
|
---|
36 | update_interval 1
|
---|
37 | update_all_face false
|
---|
38 | distance_calc false
|
---|
39 | face_angle_calc false
|
---|
40 | resolution 128
|
---|
41 | }
|
---|
42 | RenderTechnique ReducedColorCubeMap
|
---|
43 | {
|
---|
44 | update_interval 1
|
---|
45 | reduced_resolution 4
|
---|
46 | resolution 128
|
---|
47 | distance_calc false
|
---|
48 | face_angle_calc false
|
---|
49 | update_all_face false
|
---|
50 | }
|
---|
51 | }
|
---|
52 |
|
---|
53 | vertex_program_ref GTP/Basic/Shaded_VS
|
---|
54 | {
|
---|
55 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
56 | param_named_auto WorldInv inverse_world_matrix
|
---|
57 | param_named_auto World world_matrix
|
---|
58 |
|
---|
59 | }
|
---|
60 | fragment_program_ref GTP/Diffuse/Poly2Point_PS
|
---|
61 | {
|
---|
62 | param_named lastCenter float3 0 0 0
|
---|
63 | }
|
---|
64 | //Cube map for reflections and refractions
|
---|
65 | texture_unit
|
---|
66 | {
|
---|
67 |
|
---|
68 | }
|
---|
69 | //Cube map of distances
|
---|
70 | texture_unit
|
---|
71 | {
|
---|
72 |
|
---|
73 | }
|
---|
74 | }
|
---|
75 | }
|
---|
76 | }
|
---|
77 |
|
---|
78 | material GTP/Diffuse/Point2Point
|
---|
79 | {
|
---|
80 | technique
|
---|
81 | {
|
---|
82 | pass
|
---|
83 | {
|
---|
84 |
|
---|
85 | IllumTechniques
|
---|
86 | {
|
---|
87 |
|
---|
88 | RenderTechnique DistanceCubeMap
|
---|
89 | {
|
---|
90 | update_interval 1
|
---|
91 | update_all_face false
|
---|
92 | distance_calc false
|
---|
93 | face_angle_calc false
|
---|
94 | resolution 128
|
---|
95 | }
|
---|
96 | RenderTechnique ReducedColorCubeMap
|
---|
97 | {
|
---|
98 | update_interval 1
|
---|
99 | reduced_resolution 4
|
---|
100 | resolution 128
|
---|
101 | distance_calc false
|
---|
102 | face_angle_calc false
|
---|
103 | update_all_face false
|
---|
104 | }
|
---|
105 | }
|
---|
106 |
|
---|
107 | vertex_program_ref GTP/Basic/Shaded_VS
|
---|
108 | {
|
---|
109 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
110 | param_named_auto WorldInv inverse_world_matrix
|
---|
111 | param_named_auto World world_matrix
|
---|
112 |
|
---|
113 | }
|
---|
114 | fragment_program_ref GTP/Diffuse/Point2Point_PS
|
---|
115 | {
|
---|
116 | param_named lastCenter float3 0 0 0
|
---|
117 | }
|
---|
118 | //Cube map for reflections and refractions
|
---|
119 | texture_unit
|
---|
120 | {
|
---|
121 |
|
---|
122 | }
|
---|
123 | //Cube map of distances
|
---|
124 | texture_unit
|
---|
125 | {
|
---|
126 |
|
---|
127 | }
|
---|
128 | }
|
---|
129 | }
|
---|
130 | }
|
---|
131 |
|
---|
132 | material GTP/Diffuse/Disc2Point
|
---|
133 | {
|
---|
134 | technique
|
---|
135 | {
|
---|
136 | pass
|
---|
137 | {
|
---|
138 |
|
---|
139 | IllumTechniques
|
---|
140 | {
|
---|
141 |
|
---|
142 | RenderTechnique DistanceCubeMap
|
---|
143 | {
|
---|
144 | update_interval 0
|
---|
145 | update_all_face true
|
---|
146 | distance_calc false
|
---|
147 | face_angle_calc false
|
---|
148 | resolution 128
|
---|
149 | }
|
---|
150 | RenderTechnique ReducedColorCubeMap
|
---|
151 | {
|
---|
152 | update_interval 1
|
---|
153 | reduced_resolution 4
|
---|
154 | resolution 128
|
---|
155 | distance_calc false
|
---|
156 | face_angle_calc false
|
---|
157 | update_all_face true
|
---|
158 | }
|
---|
159 | }
|
---|
160 |
|
---|
161 | vertex_program_ref GTP/Basic/Shaded_VS
|
---|
162 | {
|
---|
163 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
164 | param_named_auto WorldInv inverse_world_matrix
|
---|
165 | param_named_auto World world_matrix
|
---|
166 |
|
---|
167 | }
|
---|
168 | fragment_program_ref GTP/Diffuse/Disc2Point_PS
|
---|
169 | {
|
---|
170 | param_named_auto cameraPos camera_position
|
---|
171 | param_named lastCenter float3 0 0 0
|
---|
172 | }
|
---|
173 | //Cube map for reflections and refractions
|
---|
174 | texture_unit
|
---|
175 | {
|
---|
176 |
|
---|
177 | }
|
---|
178 | //Cube map of distances
|
---|
179 | texture_unit
|
---|
180 | {
|
---|
181 |
|
---|
182 | }
|
---|
183 | }
|
---|
184 | }
|
---|
185 | }
|
---|
186 |
|
---|
187 | material GTP/Glossy/Disc2Point
|
---|
188 | {
|
---|
189 | technique
|
---|
190 | {
|
---|
191 | pass
|
---|
192 | {
|
---|
193 |
|
---|
194 | IllumTechniques
|
---|
195 | {
|
---|
196 |
|
---|
197 | RenderTechnique DistanceCubeMap
|
---|
198 | {
|
---|
199 | update_interval 1
|
---|
200 | update_all_face true
|
---|
201 | distance_calc false
|
---|
202 | face_angle_calc false
|
---|
203 | resolution 128
|
---|
204 | }
|
---|
205 | RenderTechnique ReducedColorCubeMap
|
---|
206 | {
|
---|
207 | update_interval 1
|
---|
208 | reduced_resolution 4
|
---|
209 | resolution 128
|
---|
210 | distance_calc false
|
---|
211 | face_angle_calc false
|
---|
212 | update_all_face true
|
---|
213 | }
|
---|
214 | }
|
---|
215 |
|
---|
216 | vertex_program_ref GTP/Basic/Shaded_VS
|
---|
217 | {
|
---|
218 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
219 | param_named_auto WorldInv inverse_world_matrix
|
---|
220 | param_named_auto World world_matrix
|
---|
221 |
|
---|
222 | }
|
---|
223 | fragment_program_ref GTP/Glossy/Disc2Point_PS
|
---|
224 | {
|
---|
225 | param_named_auto cameraPos camera_position
|
---|
226 | param_named lastCenter float3 0 0 0
|
---|
227 | }
|
---|
228 | //Cube map for reflections and refractions
|
---|
229 | texture_unit
|
---|
230 | {
|
---|
231 |
|
---|
232 | }
|
---|
233 | //Cube map of distances
|
---|
234 | texture_unit
|
---|
235 | {
|
---|
236 |
|
---|
237 | }
|
---|
238 | }
|
---|
239 | }
|
---|
240 | } |
---|