[1060] | 1 | material Flare
|
---|
| 2 | {
|
---|
| 3 | technique
|
---|
| 4 | {
|
---|
| 5 | pass
|
---|
| 6 | {
|
---|
| 7 | //cull_hardware none
|
---|
| 8 | lighting off
|
---|
| 9 | //scene_blend add
|
---|
| 10 | //scene_blend_op add
|
---|
| 11 | //scene_blend_op_alpha add
|
---|
| 12 | //scene_blend_alpha add
|
---|
| 13 | depth_write off
|
---|
| 14 |
|
---|
| 15 | ambient 1 0 0 1
|
---|
| 16 | diffuse 1 0 0 1
|
---|
| 17 | //texture_unit
|
---|
| 18 | //{
|
---|
| 19 | // texture flare.png
|
---|
| 20 | //}
|
---|
| 21 | }
|
---|
| 22 | }
|
---|
| 23 | }
|
---|
| 24 |
|
---|
[777] | 25 | material Examples/MorningSkyBox
|
---|
| 26 | {
|
---|
| 27 | technique
|
---|
| 28 | {
|
---|
| 29 | pass
|
---|
| 30 | {
|
---|
| 31 | lighting off
|
---|
| 32 | depth_write off
|
---|
| 33 |
|
---|
| 34 | texture_unit
|
---|
| 35 | {
|
---|
| 36 | cubic_texture morning.jpg separateUV
|
---|
| 37 | tex_address_mode clamp
|
---|
| 38 | }
|
---|
| 39 | }
|
---|
| 40 | }
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | material GameTools/Rockwall
|
---|
| 44 | {
|
---|
| 45 | technique
|
---|
| 46 | {
|
---|
| 47 | pass
|
---|
| 48 | {
|
---|
| 49 | lighting off
|
---|
| 50 | texture_unit
|
---|
| 51 | {
|
---|
| 52 | texture rockwall.tga
|
---|
| 53 | env_map cubic_normal
|
---|
| 54 | //vertex_texture true
|
---|
| 55 | }
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 |
|
---|
[1081] | 60 | material GameTools/Standard
|
---|
| 61 | {
|
---|
| 62 | technique
|
---|
| 63 | {
|
---|
| 64 | pass
|
---|
| 65 | {
|
---|
| 66 | ambient 0.1 0.11 0.15
|
---|
| 67 | diffuse 0.8 0.9 1.0
|
---|
| 68 | }
|
---|
| 69 | }
|
---|
| 70 | }
|
---|
| 71 |
|
---|
[777] | 72 |
|
---|
| 73 |
|
---|
| 74 | material GameTools/UVShader
|
---|
| 75 | {
|
---|
| 76 | technique
|
---|
| 77 | {
|
---|
| 78 | pass
|
---|
| 79 | {
|
---|
[835] | 80 | vertex_program_ref GameTools/UV_VS
|
---|
[777] | 81 | {
|
---|
| 82 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 83 | }
|
---|
[835] | 84 | fragment_program_ref GameTools/UV_PS
|
---|
[777] | 85 | {
|
---|
| 86 | param_named_auto ID custom 0
|
---|
| 87 | }
|
---|
| 88 |
|
---|
| 89 |
|
---|
| 90 | }
|
---|
| 91 | }
|
---|
| 92 | }
|
---|
| 93 |
|
---|
| 94 | material GameTools/DistanceShader
|
---|
| 95 | {
|
---|
| 96 |
|
---|
| 97 | technique
|
---|
| 98 | {
|
---|
| 99 | pass
|
---|
| 100 | {
|
---|
[835] | 101 | vertex_program_ref GameTools/DistanceVS
|
---|
[777] | 102 | {
|
---|
| 103 | param_named_auto worldView worldview_matrix
|
---|
| 104 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 105 | }
|
---|
[835] | 106 | fragment_program_ref GameTools/DistancePS
|
---|
[777] | 107 | {
|
---|
| 108 |
|
---|
| 109 | }
|
---|
| 110 |
|
---|
| 111 | }
|
---|
| 112 | }
|
---|
| 113 | }
|
---|
| 114 |
|
---|
| 115 | material GameTools/SceneCameraDepthShader
|
---|
| 116 | {
|
---|
| 117 |
|
---|
| 118 | technique
|
---|
| 119 | {
|
---|
| 120 | scene_blend none
|
---|
| 121 |
|
---|
| 122 | pass
|
---|
| 123 | {
|
---|
[835] | 124 | vertex_program_ref GameTools/SceneCameraDepthVS
|
---|
[777] | 125 | {
|
---|
| 126 | param_named_auto worldView worldview_matrix
|
---|
| 127 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 128 | param_named_auto farplane far_clip_distance
|
---|
| 129 | }
|
---|
[835] | 130 | fragment_program_ref GameTools/SceneDepthPS
|
---|
[777] | 131 | {
|
---|
| 132 |
|
---|
| 133 | }
|
---|
| 134 |
|
---|
| 135 | }
|
---|
| 136 | }
|
---|
| 137 | }
|
---|
| 138 |
|
---|
[1102] | 139 | material GameTools/FocusingShader
|
---|
| 140 | {
|
---|
| 141 |
|
---|
| 142 | technique
|
---|
| 143 | {
|
---|
| 144 | scene_blend none
|
---|
| 145 |
|
---|
| 146 | pass
|
---|
| 147 | {
|
---|
| 148 | vertex_program_ref GameTools/FocusingVS
|
---|
| 149 | {
|
---|
| 150 | param_named_auto worldView worldview_matrix
|
---|
| 151 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 152 | param_named lightTransform matrix4x4
|
---|
| 153 | }
|
---|
| 154 | fragment_program_ref GameTools/FocusingPS
|
---|
| 155 | {
|
---|
| 156 |
|
---|
| 157 | }
|
---|
| 158 |
|
---|
| 159 | }
|
---|
| 160 | }
|
---|
| 161 | }
|
---|
| 162 |
|
---|
[777] | 163 | material GameTools/ShadowMapDepth
|
---|
| 164 | {
|
---|
| 165 |
|
---|
| 166 | technique
|
---|
| 167 | {
|
---|
| 168 | scene_blend none
|
---|
| 169 |
|
---|
| 170 | pass
|
---|
| 171 | {
|
---|
[807] | 172 | cull_hardware anticlockwise
|
---|
| 173 |
|
---|
[777] | 174 | vertex_program_ref GameTools/ShadowMap/DepthVS
|
---|
| 175 | {
|
---|
| 176 | param_named_auto worldView worldview_matrix
|
---|
| 177 | param_named_auto worldViewProj worldviewproj_matrix
|
---|
| 178 |
|
---|
| 179 | }
|
---|
| 180 | fragment_program_ref GameTools/ShadowMap/DepthPS
|
---|
| 181 | {
|
---|
| 182 |
|
---|
| 183 | }
|
---|
[807] | 184 |
|
---|
[777] | 185 | }
|
---|
| 186 | }
|
---|
| 187 | } |
---|