Changeset 1519 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 09/27/06 16:04:44 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/Diffuse.material
r1094 r1519 47 47 IllumTechniques 48 48 { 49 RenderTechnique DistanceCubeMap 50 { 51 update_interval 1 52 distance_calc false 53 } 49 54 RenderTechnique ReducedColorCubeMap 50 55 { 51 update_interval 3 56 update_interval 1 57 reduced_resolution 4 58 resolution 128 52 59 distance_calc false 53 60 face_angle_calc false 54 update_all_face false61 update_all_face true 55 62 } 56 63 } … … 88 95 } 89 96 } 97 98 99 100 vertex_program Diffuse2VS hlsl 101 { 102 source GameTools_Diffuse.hlsl 103 entry_point DiffuseVS 104 target vs_2_0 105 } 106 107 fragment_program Diffuse2PS hlsl 108 { 109 source GameTools_Diffuse.hlsl 110 entry_point DiffusePS 111 target ps_3_0 112 } 113 114 material GameTools/Diffuse2 115 { 116 technique 117 { 118 pass 119 { 120 121 IllumTechniques 122 { 123 RenderTechnique DistanceCubeMap 124 { 125 update_interval 1 126 distance_calc false 127 } 128 RenderTechnique ReducedColorCubeMap 129 { 130 update_interval 1 131 reduced_resolution 4 132 resolution 128 133 distance_calc false 134 face_angle_calc false 135 update_all_face true 136 } 137 } 138 139 140 vertex_program_ref Diffuse2VS 141 { 142 param_named_auto worldViewProj worldviewproj_matrix 143 param_named_auto world world_matrix 144 145 } 146 fragment_program_ref Diffuse2PS 147 { 148 param_named_auto cameraPos camera_position 149 param_named REDUCED_CUBEMAP_SIZE int 4 150 param_named lastCenter float3 0 0 0 151 param_named_auto world_IT inverse_transpose_world_matrix 152 } 153 154 //Cube map for reflections and refractions 155 texture_unit 156 { 157 cubic_texture cubemap.jpg combinedUVW 158 tex_address_mode clamp 159 colour_op replace 160 } 161 162 //Cube map of distances 163 texture_unit 164 { 165 cubic_texture cubemap.jpg combinedUVW 166 tex_address_mode clamp 167 colour_op replace 168 } 169 } 170 } 171 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r1451 r1519 69 69 { 70 70 texture rockwall.tga 71 env_map cubic_normal71 //env_map cubic_normal 72 72 //vertex_texture true 73 73 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GlassHead.material
r1487 r1519 144 144 photonmap_resolution 32 145 145 caustic_cubemap_resolution 512 146 caustic_map_material GameTools/CauTri147 use_triangles true146 //caustic_map_material GameTools/CauTri 147 //use_triangles true 148 148 } 149 149
Note: See TracChangeset
for help on using the changeset viewer.