Changeset 1879 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 12/11/06 16:30:08 (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/GameTools_HPS.material
r1565 r1879 108 108 { 109 109 source GameTools_HPS_Smoke_L_Depth.hlsl 110 entry_point HPS_Smoke_L_Depth_VS 111 target vs_3_0 112 } 113 114 fragment_program HPS_Smoke_L_Depth_PS hlsl 115 { 116 source GameTools_HPS_Smoke_L_Depth.hlsl 117 entry_point HPS_Smoke_L_Depth_PS 118 target ps_3_0 119 } 120 121 material HPS_SMOKE_L_Depth 122 { 123 technique 124 { 125 pass 126 { 127 IllumTechniques 128 { 129 RenderTechnique HPS 130 { 131 particle_script GameTools/FogLittle 132 perspective false 133 vparam_radius baseRadius 134 update_interval 1 135 } 136 RenderTechnique SphericalBillboard 137 { 138 texture_unit_id 1 139 } 140 } 141 142 vertex_program_ref HPS_Smoke_L_Depth_VS 143 { 144 param_named_auto worldViewProj worldviewproj_matrix 145 param_named_auto worldView worldview_matrix 146 param_named_auto worldViewInv inverse_worldview_matrix 147 param_named_auto Proj projection_matrix 148 param_named_auto width viewport_width 149 param_named_auto height viewport_height 150 } 151 fragment_program_ref HPS_Smoke_L_Depth_PS 152 { 153 param_named_auto Proj projection_matrix 154 param_named_auto farplane far_clip_distance 155 param_named_auto nearplane near_clip_distance 156 157 158 } 159 160 depth_check off 161 depth_write off 162 scene_blend alpha_blend 163 164 //impostor texture 165 texture_unit 166 { 167 //filtering none 168 } 169 //scene depth texture 170 texture_unit 171 { 172 filtering none 173 } 174 } 175 } 176 } 177 178 vertex_program HPS_Smoke_L_Depth_Illum_VS hlsl 179 { 180 source GameTools_HPS_Smoke_L_Depth.hlsl 110 181 entry_point HPS_Smoke_L_Depth_Illum_VS 111 182 target vs_3_0 112 183 } 113 184 114 fragment_program HPS_Smoke_L_Depth_ PS hlsl185 fragment_program HPS_Smoke_L_Depth_Illum_PS hlsl 115 186 { 116 187 source GameTools_HPS_Smoke_L_Depth.hlsl … … 119 190 } 120 191 121 //fragment_program HPS_Smoke_L_Depth_PS asm 122 //{ 123 // source HPS_Illum_L_PS.asm 124 // syntax ps_3_0 125 //} 126 127 128 129 130 131 material HPS_SMOKE_L_Depth 192 193 material HPS_SMOKE_L_Depth_Illum 132 194 { 133 195 technique … … 156 218 } 157 219 158 vertex_program_ref HPS_Smoke_L_Depth_ VS220 vertex_program_ref HPS_Smoke_L_Depth_Illum_VS 159 221 { 160 222 param_named_auto worldViewProj worldviewproj_matrix … … 165 227 param_named_auto height viewport_height 166 228 } 167 fragment_program_ref HPS_Smoke_L_Depth_ PS229 fragment_program_ref HPS_Smoke_L_Depth_Illum_PS 168 230 { 169 231 param_named_auto Proj projection_matrix -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/MetalTeapot.material
r1863 r1879 196 196 param_named F0 float3 0.95 0.95 0.95 197 197 param_named SingleBounce float 0.0 198 param_named refIndex float 0. 909198 param_named refIndex float 0.6667 199 199 } 200 200 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/hangar.material
r1671 r1879 11 11 max_light_count 3 12 12 vertex_program_name GameTools/ShadowMap/ShadowDistVS 13 fragment_program_name GameTools/ShadowMap/ShadowDistPS13 fragment_program_name GameTools/ShadowMap/ShadowDistPS 14 14 set_light_view true 15 15 set_light_farplane true … … 18 18 } 19 19 20 ambient 0.5 0.5 0.5 1 21 diffuse 0.5 0.5 0.5 1 20 iteration once_per_light spot 21 //iteration once_per_light point 22 23 ambient 1.0 1.0 1.0 1 24 diffuse 1.0 1.0 1.0 1 22 25 specular 0 0 0 0 23 26 emissive 0 0 0
Note: See TracChangeset
for help on using the changeset viewer.