Changeset 1424 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 09/21/06 08:35:22 (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.material
r1336 r1424 11 11 //scene_blend_op_alpha add 12 12 //scene_blend_alpha add 13 depth_check off 13 14 depth_write off 14 15 15 ambient 1 0 0 116 diffuse 1 0 0 117 16 texture_unit 18 17 { … … 212 211 } 213 212 } 213 214 vertex_program PhaseVS hlsl 215 { 216 source GameTools_Phase.hlsl 217 entry_point PhaseVS 218 target vs_2_0 219 } 220 221 fragment_program Phase_HenyeyGreenSteinPS hlsl 222 { 223 source GameTools_Phase.hlsl 224 entry_point HenyeyGreensteinPS 225 target ps_2_0 226 } 227 228 material Phase_HenyeyGreenStein 229 { 230 231 technique 232 { 233 234 pass 235 { 236 vertex_program_ref PhaseVS 237 { 238 239 } 240 fragment_program_ref Phase_HenyeyGreenSteinPS 241 { 242 243 } 244 245 } 246 } 247 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools_HPS.material
r1355 r1424 75 75 particle_script GameTools/Little 76 76 perspective false 77 } 77 vparam_radius baseRadius 78 } 79 78 80 } 79 81 … … 82 84 param_named_auto worldViewProj worldviewproj_matrix 83 85 param_named_auto worldView worldview_matrix 84 param_named_auto Proj projection_matrix 86 param_named_auto Proj projection_matrix 85 87 } 86 88 fragment_program_ref HPS_Smoke_L_PS … … 92 94 scene_blend alpha_blend 93 95 94 texture_unit 95 { 96 97 } 96 //impostor texture 97 texture_unit 98 { 99 100 } 101 98 102 99 103 } … … 101 105 } 102 106 103 104 107 vertex_program HPS_Smoke_L_Depth_VS hlsl 108 { 109 source GameTools_HPS_Smoke_L_Depth.hlsl 110 entry_point HPS_Smoke_L_Depth_Illum_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_Illum_PS 118 target ps_3_0 119 } 120 121 122 123 material HPS_SMOKE_L_Depth 124 { 125 technique 126 { 127 pass 128 { 129 IllumTechniques 130 { 131 RenderTechnique HPS 132 { 133 particle_script GameTools/Little 134 perspective false 135 vparam_radius baseRadius 136 update_interval 1 137 } 138 RenderTechnique SphericalBillboard 139 { 140 texture_unit_id 1 141 } 142 RenderTechnique IllumVolume 143 { 144 update_interval 1 145 //depths 4 146 resolution 128 147 } 148 } 149 150 vertex_program_ref HPS_Smoke_L_Depth_VS 151 { 152 param_named_auto worldViewProj worldviewproj_matrix 153 param_named_auto worldView worldview_matrix 154 param_named_auto worldViewInv inverse_worldview_matrix 155 param_named_auto Proj projection_matrix 156 param_named_auto width viewport_width 157 param_named_auto height viewport_height 158 } 159 fragment_program_ref HPS_Smoke_L_Depth_PS 160 { 161 param_named_auto Proj projection_matrix 162 param_named_auto farplane far_clip_distance 163 164 165 } 166 167 depth_check off 168 depth_write off 169 scene_blend alpha_blend 170 171 //impostor texture 172 texture_unit 173 { 174 //filtering none 175 } 176 //scene depth texture 177 texture_unit 178 { 179 filtering none 180 } 181 //lightVolume 182 texture_unit 183 { 184 //filtering none 185 } 186 187 } 188 } 189 } 190 191 vertex_program Smoke_IllumVolume_VS hlsl 192 { 193 source GameTools_Smoke_IllumVolume.hlsl 194 entry_point SmokeIllumVolumeVS 195 target vs_3_0 196 } 197 198 fragment_program HPS_IllumVolume_PS hlsl 199 { 200 source GameTools_Smoke_IllumVolume.hlsl 201 entry_point SmokeIllumVolumePS 202 target ps_3_0 203 } 204 205 material Smoke_IllumVolume 206 { 207 208 technique 209 { 210 pass 211 { 212 213 cull_hardware none 214 cull_software none 215 lighting off 216 scene_blend zero one_minus_src_colour 217 depth_write off 218 219 vertex_program_ref Smoke_IllumVolume_VS 220 { 221 param_named_auto worldViewProj worldviewproj_matrix 222 param_named_auto worldView worldview_matrix 223 param_named_auto Proj projection_matrix 224 } 225 fragment_program_ref HPS_IllumVolume_PS 226 { 227 228 } 229 230 texture_unit 231 { 232 texture pamacs.dds 233 } 234 235 } 236 } 237 } 238 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/Particles.material
r1336 r1424 109 109 { 110 110 texture 111 } 112 113 111 } 114 112 } 115 113 } 116 114 } 115
Note: See TracChangeset
for help on using the changeset viewer.