source: GTP/trunk/App/Games/CarDriving_BME/Media/materials/scripts/wheel_classic.material.old @ 2451

Revision 2451, 1.9 KB checked in by szirmay, 17 years ago (diff)
Line 
1
2
3
4material tire1
5{
6receive_shadows off
7
8        technique
9        {
10                pass
11                {                       
12                       
13                        vertex_program_ref bumpmappedVS
14                {       
15                        param_named_auto worldViewProj worldviewproj_matrix
16                        param_named_auto world world_matrix
17                                param_named_auto world_IT inverse_transpose_world_matrix                   
18                }
19                        fragment_program_ref bumpmappedPS
20                        {
21                                param_named_auto lightPosition light_position 0
22                                param_named_auto world_IT inverse_transpose_world_matrix
23                                param_named ambientColor float4 0.1, 0.1, 0.1 1
24                                param_named diffuseColor float4 0.8, 0.8, 0.8 1
25                                param_named specularColor float4 0.6, 0.6, 0.6 1
26                                param_named shininess float 80
27                        }
28                       
29                        texture_unit
30                        {
31                                texture tire.tga
32                        }
33                       
34                        texture_unit
35                        {
36                                texture tirenormal.dds
37                        }
38                }
39        }
40}
41material wheel
42{
43receive_shadows off
44
45        technique
46        {
47                pass
48                {
49                        IllumTechniques
50                {
51                        RenderTechnique ColorCubeMap
52                        {
53                                update_interval         1
54                                distance_calc false
55                                face_angle_calc false
56                                update_all_face         false           
57                        }
58                       
59                       
60                 }
61          vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS
62                {       
63                 param_named_auto worldViewProj worldviewproj_matrix
64                 param_named_auto world world_matrix
65                         param_named_auto worldIT inverse_transpose_world_matrix
66           
67                }
68                fragment_program_ref    GameTools/CubeMap/FragmentPrograms/LocalizedMetalPS
69                {
70                        param_named_auto cameraPos camera_position
71            //param_named n float3 0.142 0.124 0.158
72            //param_named k float3 4.52  3.33 2.32
73            param_named F0 float3 0.97 0.95 0.9
74            param_named_auto lightPosition light_position 0
75                       
76         }
77               
78         //Cube map for reflections and refractions     
79         texture_unit
80         {
81           cubic_texture cubemap.jpg combinedUVW
82           tex_address_mode clamp
83           colour_op replace
84         }
85
86       
87
88                }
89        }
90}
Note: See TracBrowser for help on using the repository browser.