Rev | Line | |
---|
[11335] | 1 | material Checkpoint_InnerRing |
---|
| 2 | { |
---|
| 3 | set $diffuseCol "1 1 1 1" |
---|
| 4 | set $specularCol "1 1 1" |
---|
| 5 | set $shininess "32" |
---|
| 6 | |
---|
| 7 | technique |
---|
| 8 | { |
---|
| 9 | pass |
---|
| 10 | { |
---|
| 11 | illumination_stage ambient |
---|
| 12 | |
---|
| 13 | ambient 1 1 1 1 |
---|
| 14 | diffuse $diffuseCol |
---|
| 15 | specular 0 0 0 0 |
---|
| 16 | emissive 0 0 0 0 |
---|
| 17 | |
---|
| 18 | vertex_program_ref ambient_vs |
---|
| 19 | { |
---|
| 20 | } |
---|
| 21 | |
---|
| 22 | fragment_program_ref ambient_ps |
---|
| 23 | { |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | texture_unit diffuseMap |
---|
| 27 | { |
---|
| 28 | texture CheckpointTex.jpg |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | texture_unit aoMap |
---|
| 32 | { |
---|
| 33 | texture CheckpointTex.jpg |
---|
| 34 | } |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | pass |
---|
| 38 | { |
---|
| 39 | illumination_stage per_light |
---|
| 40 | |
---|
| 41 | scene_blend add |
---|
| 42 | // iteration once_per_light not needed while illumination_stage per_light is used |
---|
| 43 | |
---|
| 44 | vertex_program_ref diffuse_vs |
---|
| 45 | { |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | fragment_program_ref diffuse_ps |
---|
| 49 | { |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | diffuse $diffuseCol |
---|
| 53 | specular $specularCol $shininess |
---|
| 54 | ambient 0 0 0 0 |
---|
| 55 | |
---|
| 56 | texture_unit diffuseMap |
---|
| 57 | { |
---|
| 58 | texture CheckpointTex.jpg |
---|
| 59 | } |
---|
| 60 | |
---|
| 61 | texture_unit specMap |
---|
| 62 | { |
---|
| 63 | texture CheckpointTex.jpg |
---|
| 64 | } |
---|
| 65 | |
---|
| 66 | texture_unit normalMap |
---|
| 67 | { |
---|
| 68 | texture CheckpointNormal.png |
---|
| 69 | } |
---|
| 70 | } |
---|
| 71 | } |
---|
| 72 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.