Last change
on this file since 22 was
21,
checked in by nicolasc, 17 years ago
|
added ogreode and Colladaplugin
|
File size:
1.0 KB
|
Line | |
---|
1 | material Zombie |
---|
2 | { |
---|
3 | |
---|
4 | // Hardware skinning technique |
---|
5 | technique |
---|
6 | { |
---|
7 | pass |
---|
8 | { |
---|
9 | vertex_program_ref Ogre/HardwareSkinningOneWeight |
---|
10 | { |
---|
11 | param_named_auto worldMatrix3x4Array[0] world_matrix_array_3x4 |
---|
12 | param_named_auto viewProjectionMatrix viewproj_matrix |
---|
13 | param_named_auto lightPos[0] light_position 0 |
---|
14 | param_named_auto lightPos[1] light_position 1 |
---|
15 | param_named_auto lightDiffuseColour[0] light_diffuse_colour 0 |
---|
16 | param_named_auto lightDiffuseColour[1] light_diffuse_colour 1 |
---|
17 | param_named_auto ambient ambient_light_colour |
---|
18 | |
---|
19 | } |
---|
20 | // alternate shadow caster program |
---|
21 | shadow_caster_vertex_program_ref Ogre/HardwareSkinningOneWeightShadowCaster |
---|
22 | { |
---|
23 | param_named_auto worldMatrix3x4Array[0] world_matrix_array_3x4 |
---|
24 | param_named_auto viewProjectionMatrix viewproj_matrix |
---|
25 | param_named_auto ambient ambient_light_colour |
---|
26 | |
---|
27 | } |
---|
28 | |
---|
29 | texture_unit |
---|
30 | { |
---|
31 | texture zombie.jpg |
---|
32 | } |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
36 | // Software blending technique |
---|
37 | technique |
---|
38 | { |
---|
39 | pass |
---|
40 | { |
---|
41 | |
---|
42 | texture_unit |
---|
43 | { |
---|
44 | texture zombie.jpg |
---|
45 | } |
---|
46 | } |
---|
47 | } |
---|
48 | } |
---|
49 | |
---|
Note: See
TracBrowser
for help on using the repository browser.