[2186] | 1 | material PRMDemo/Base
|
---|
| 2 | {
|
---|
| 3 | technique maintechnique
|
---|
| 4 | {
|
---|
| 5 | pass mainpass
|
---|
| 6 | {
|
---|
[2188] | 7 | IllumTechniques
|
---|
| 8 | {
|
---|
[2435] | 9 | RenderTechnique PathMap
|
---|
| 10 | {
|
---|
| 11 | pass_blending one one
|
---|
| 12 | }
|
---|
[2422] | 13 | RenderTechnique DepthShadowReceiver
|
---|
| 14 | {
|
---|
| 15 | pass_blending zero src_colour
|
---|
| 16 | max_light_count 1
|
---|
| 17 | vertex_program_name GTP/Basic/LightCPos_VS
|
---|
| 18 | //fragment_program_name GTP/Basic/SM/Dist_VSM_PS
|
---|
| 19 | fragment_program_name GTP/Basic/SM/Dist_PS
|
---|
| 20 | set_light_view true
|
---|
| 21 | set_light_farplane true
|
---|
| 22 | light_viewproj_param_name LightViewProj
|
---|
| 23 | light_view_param_name LightView
|
---|
| 24 | light_farplane_param_name lightFarPlane
|
---|
| 25 | world_view_proj_param_name WorldViewProj
|
---|
| 26 | world_param_name World
|
---|
| 27 | }
|
---|
[2188] | 28 | }
|
---|
[2246] | 29 | vertex_program_ref GTP/Basic/ShadedTex_VS
|
---|
| 30 | {
|
---|
| 31 | param_named_auto WorldViewProj worldviewproj_matrix
|
---|
| 32 | param_named_auto World world_matrix
|
---|
| 33 | param_named_auto WorldInv inverse_world_matrix
|
---|
| 34 | }
|
---|
[2404] | 35 | fragment_program_ref GTP/Basic/Shaded/TexturedTwoLights_PS
|
---|
[2246] | 36 | {
|
---|
[2404] | 37 | param_named_auto lightPos1 light_position 0
|
---|
| 38 | param_named_auto lightDir1 light_direction 0
|
---|
| 39 | param_named_auto lightColor1 light_diffuse_colour 0
|
---|
| 40 | param_named_auto lightPower1 light_power 0
|
---|
| 41 |
|
---|
| 42 | param_named_auto lightPos2 light_position 1
|
---|
| 43 | param_named_auto lightDir2 light_direction 1
|
---|
| 44 | param_named_auto lightColor2 light_diffuse_colour 1
|
---|
| 45 | param_named_auto lightPower2 light_power 1
|
---|
[2246] | 46 | }
|
---|
[2186] | 47 | texture_unit color
|
---|
| 48 | {
|
---|
[2246] | 49 | colour_op replace
|
---|
[2217] | 50 | }
|
---|
| 51 | }
|
---|
[2186] | 52 | }
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 | material PRMDemo/rustyMetal : PRMDemo/Base
|
---|
| 57 | {
|
---|
| 58 | technique maintechnique
|
---|
| 59 | {
|
---|
| 60 | pass mainpass
|
---|
| 61 | {
|
---|
| 62 | texture_unit color
|
---|
| 63 | {
|
---|
| 64 | texture wrtile.jpg
|
---|
| 65 | }
|
---|
| 66 | }
|
---|
| 67 | }
|
---|
| 68 | }
|
---|
| 69 |
|
---|
| 70 | material PRMDemo/redwire : PRMDemo/Base
|
---|
| 71 | {
|
---|
| 72 | technique maintechnique
|
---|
| 73 | {
|
---|
| 74 | pass mainpass
|
---|
| 75 | {
|
---|
| 76 | texture_unit color
|
---|
| 77 | {
|
---|
| 78 | texture redwire.bmp
|
---|
| 79 | }
|
---|
| 80 | }
|
---|
| 81 | }
|
---|
| 82 | }
|
---|
| 83 |
|
---|
| 84 | material PRMDemo/greenwire : PRMDemo/Base
|
---|
| 85 | {
|
---|
| 86 | technique maintechnique
|
---|
| 87 | {
|
---|
| 88 | pass mainpass
|
---|
| 89 | {
|
---|
| 90 | texture_unit color
|
---|
| 91 | {
|
---|
| 92 | texture greenwire.bmp
|
---|
| 93 | }
|
---|
| 94 | }
|
---|
| 95 | }
|
---|
| 96 | }
|
---|
| 97 |
|
---|
| 98 | material PRMDemo/whitewire : PRMDemo/Base
|
---|
| 99 | {
|
---|
| 100 | technique maintechnique
|
---|
| 101 | {
|
---|
| 102 | pass mainpass
|
---|
| 103 | {
|
---|
| 104 | texture_unit color
|
---|
| 105 | {
|
---|
| 106 | texture whitewire.bmp
|
---|
| 107 | }
|
---|
| 108 | }
|
---|
| 109 | }
|
---|
| 110 | }
|
---|
| 111 |
|
---|
| 112 | material PRMDemo/iron : PRMDemo/Base
|
---|
| 113 | {
|
---|
| 114 | technique maintechnique
|
---|
| 115 | {
|
---|
| 116 | pass mainpass
|
---|
| 117 | {
|
---|
| 118 | texture_unit color
|
---|
| 119 | {
|
---|
| 120 | texture w2.jpg
|
---|
| 121 | }
|
---|
| 122 | }
|
---|
| 123 | }
|
---|
[2188] | 124 | }
|
---|