- Timestamp:
- 07/03/07 18:26:19 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/Station/scientist.material
r2507 r2518 101 101 } 102 102 103 material scientist_glass : scientist_base 104 { 105 technique main 106 { 107 pass indirect_color 108 { 109 texture_unit color 110 { 111 texture scientist_chrome.bmp 112 } 113 } 114 pass direct 115 { 116 texture_unit color 117 { 118 texture scientist_chrome.bmp 119 } 103 material scientist_glass 104 { 105 technique main 106 { 107 pass 108 { 109 IllumTechniques 110 { 111 112 RenderTechnique DistanceCubeMap 113 { 114 update_interval 0 115 update_all_face true 116 distance_calc false 117 face_angle_calc false 118 resolution 128 119 } 120 RenderTechnique ReducedColorCubeMap 121 { 122 update_interval 1 123 reduced_resolution 4 124 resolution 128 125 distance_calc false 126 face_angle_calc false 127 update_all_face true 128 } 129 } 130 131 vertex_program_ref GTP/Basic/Shaded_VS 132 { 133 param_named_auto WorldViewProj worldviewproj_matrix 134 param_named_auto WorldInv inverse_world_matrix 135 param_named_auto World world_matrix 136 137 } 138 fragment_program_ref GTP/Glossy/Disc2Point_PS 139 { 140 param_named_auto cameraPos camera_position 141 param_named lastCenter float3 0 0 0 142 } 143 //Cube map for reflections and refractions 144 texture_unit 145 { 146 147 } 148 //Cube map of distances 149 texture_unit 150 { 151 152 } 120 153 } 121 154
Note: See TracChangeset
for help on using the changeset viewer.