Changeset 1671 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 10/23/06 23:28:16 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/Diffuse.material
r1638 r1671 157 157 texture_unit 158 158 { 159 cubic_texture cubemap.jpg combinedUVW 160 tex_address_mode clamp 161 colour_op replace 159 162 160 } 163 161 … … 165 163 texture_unit 166 164 { 167 cubic_texture cubemap.jpg combinedUVW 168 tex_address_mode clamp 169 colour_op replace 165 170 166 } 171 167 } … … 173 169 } 174 170 171 vertex_program DiffuseBumpVS hlsl 172 { 173 source GameTools_Diffuse.hlsl 174 entry_point DiffuseBumpVS 175 target vs_3_0 176 } 177 178 fragment_program DiffuseBumpPS hlsl 179 { 180 source GameTools_Diffuse.hlsl 181 entry_point DiffuseBumpPS 182 target ps_3_0 183 } 184 185 186 187 material GameTools/DiffuseBump 188 { 189 technique 190 { 191 pass 192 { 193 194 IllumTechniques 195 { 196 RenderTechnique DistanceCubeMap 197 { 198 update_interval 1 199 update_all_face true 200 distance_calc false 201 face_angle_calc false 202 resolution 128 203 } 204 RenderTechnique ReducedColorCubeMap 205 { 206 update_interval 1 207 reduced_resolution 4 208 resolution 128 209 distance_calc false 210 face_angle_calc false 211 update_all_face true 212 } 213 } 214 215 216 vertex_program_ref DiffuseBumpVS 217 { 218 param_named_auto worldViewProj worldviewproj_matrix 219 param_named_auto world world_matrix 220 221 } 222 fragment_program_ref DiffuseBumpPS 223 { 224 param_named_auto worldI inverse_world_matrix 225 param_named lastCenter float3 0 0 0 226 } 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 texture_unit 239 { 240 texture atheneNormalMapNew.dds 241 } 242 } 243 } 244 } 175 245 176 246 fragment_program DiffuseP2PPS hlsl … … 181 251 } 182 252 183 material GameTools/Diffuse /use1253 material GameTools/DiffuseP2P 184 254 { 185 255 technique … … 193 263 { 194 264 update_interval 1 265 resolution 128 195 266 distance_calc false 196 267 face_angle_calc false … … 211 282 vertex_program_ref Diffuse2VS 212 283 { 213 214 param_named_auto world 215 284 param_named_auto worldViewProj worldviewproj_matrix 285 param_named_auto worldI inverse_world_matrix 286 param_named_auto world world_matrix 216 287 } 217 288 fragment_program_ref DiffuseP2PPS 218 289 { 219 param_named REDUCED_CUBEMAP_SIZE int 4220 290 param_named lastCenter float3 0 0 0 221 291 } … … 224 294 texture_unit 225 295 { 226 cubic_texture cubemap.jpg combinedUVW 227 tex_address_mode clamp 228 colour_op replace 296 229 297 } 230 298 … … 232 300 texture_unit 233 301 { 234 cubic_texture cubemap.jpg combinedUVW 235 tex_address_mode clamp 236 colour_op replace 302 237 303 } 238 304 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r1629 r1671 221 221 { 222 222 223 } 224 225 } 226 } 227 } 228 229 material GameTools/ShadowMapDistance 230 { 231 232 technique 233 { 234 scene_blend none 235 236 pass 237 { 238 cull_hardware anticlockwise 239 //cull_hardware none 240 241 vertex_program_ref GameTools/ShadowMap/DistVS 242 { 243 param_named_auto worldViewProj worldviewproj_matrix 244 param_named_auto worldView worldview_matrix 245 } 246 fragment_program_ref GameTools/ShadowMap/DistPS 247 { 248 param_named_auto farPlane far_clip_distance 223 249 } 224 250 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.program
r1131 r1671 252 252 target ps_3_0 253 253 254 } 255 256 vertex_program GameTools/ShadowMap/DistVS hlsl 257 { 258 source GameTools_DepthShadow.hlsl 259 entry_point DepthDistVS 260 target vs_3_0 261 } 262 263 fragment_program GameTools/ShadowMap/DistPS hlsl 264 { 265 source GameTools_DepthShadow.hlsl 266 entry_point DepthDistPS 267 target ps_3_0 268 254 269 } 255 270 … … 269 284 } 270 285 286 vertex_program GameTools/ShadowMap/ShadowDistVS hlsl 287 { 288 source GameTools_DepthShadow.hlsl 289 entry_point distShadowVS 290 target vs_1_1 291 } 292 293 fragment_program GameTools/ShadowMap/ShadowDistPS hlsl 294 { 295 source GameTools_DepthShadow.hlsl 296 entry_point distShadowPS 297 target ps_2_0 298 299 } 300 271 301 vertex_program GameTools/UV_VS hlsl 272 302 { -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
r1638 r1671 115 115 { 116 116 max_light_count 3 117 vertex_program_name GameTools/ShadowMap/ShadowDistVS 118 fragment_program_name GameTools/ShadowMap/ShadowDistPS 119 set_light_view true 120 set_light_farplane true 117 121 } 118 122 } … … 136 140 { 137 141 max_light_count 3 142 vertex_program_name GameTools/ShadowMap/ShadowDistVS 143 fragment_program_name GameTools/ShadowMap/ShadowDistPS 144 set_light_view true 145 set_light_farplane true 138 146 } 139 147 } … … 179 187 { 180 188 max_light_count 3 189 vertex_program_name GameTools/ShadowMap/ShadowDistVS 190 fragment_program_name GameTools/ShadowMap/ShadowDistPS 191 set_light_view true 192 set_light_farplane true 181 193 } 182 194 } … … 249 261 { 250 262 max_light_count 3 263 vertex_program_name GameTools/ShadowMap/ShadowDistVS 264 fragment_program_name GameTools/ShadowMap/ShadowDistPS 265 set_light_view true 266 set_light_farplane true 251 267 } 252 268 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/hangar.material
r1085 r1671 9 9 RenderTechnique DepthShadowReciever 10 10 { 11 max_light_count 3 12 vertex_program_name GameTools/ShadowMap/ShadowDistVS 13 fragment_program_name GameTools/ShadowMap/ShadowDistPS 14 set_light_view true 15 set_light_farplane true 11 16 12 17 }
Note: See TracChangeset
for help on using the changeset viewer.