Changeset 2442 for GTP/trunk/App/Demos/Illum/Ogre/Media
- Timestamp:
- 06/12/07 12:04:31 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media
- Files:
-
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/GTPMoriaPostProc.material
r2414 r2442 81 81 param_named focalDist float 2.0 82 82 param_named focalRange float 0.02 83 param_named maxCoC float 1 083 param_named maxCoC float 15 84 84 85 85 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/MoriaHallBase.hlsl
r2432 r2442 108 108 lightCPos = mul(LightView1, float4(IN.wPos, 1)).xyz; 109 109 shadow = shadowPoint(ShadowMap1Point, lightCPos, lightFarPlane1); 110 shadow = 1;110 //shadow = 1; 111 111 Color += col * shadow; 112 112 … … 132 132 float4 indirect = PathMapIndirect(PathMap, WeightIndexMap, WeightMap, IN.texCoord2.zw) * 1.2; 133 133 indirect *= diffuseColor; 134 //Color = Color + indirect * 1.5;134 //Color = Color + indirect*2.0; 135 135 136 136 //Color += lightPower1 * diffuseColor * 0.0005; -
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/illum.hlsl
r2417 r2442 1 1 #define SPOT_ANGLE 2.093 2 2 #define SPOT_FALLOFF 1 3 #define SHADOW_COLOR float4(0. 3,0.3,0.3,1.0)3 #define SHADOW_COLOR float4(0.0,0.0,0.0,1.0) 4 4 #define SHADOW_BIAS_POINT 0.0001 5 5 #define SHADOW_EPSILON_POINT 0.0001 -
GTP/trunk/App/Demos/Illum/Ogre/Media/MORIA/moria.material
r2432 r2442 23 23 //RenderTechnique PathMap 24 24 //{ 25 ////pass_blending one one26 // new_passes false25 //pass_blending one one 26 // new_passes false 27 27 // start_tex_id 3 28 28 //} -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPAdvancedEnvMap/diffuse/GTPDiffuse.material
r2054 r2442 25 25 technique 26 26 { 27 pass 28 { 29 27 //pass 28 ///{ 29 // lighting on 30 //} 31 pass 32 { 33 //scene_blend add 30 34 IllumTechniques 31 35 { … … 72 76 } 73 77 } 78 74 79 } 75 80 } 81 76 82 77 83 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPShadowMap_PS.hlsl
r2438 r2442 20 20 21 21 //#define shadowColor float4(0.95,0.95,0.95,1) 22 #define shadowColor float4(0.2,0.2,0.2,1) 22 #define shadowColor float4(0.8,0.8,0.8,1) 23 //#define shadowColor float4(0.2,0.2,0.2,1) 24 //#define shadowColor float4(0.0,0.0,0.0,1) 23 25 24 26 float4 shadowMapDepth(LightVPos_OUT IN, … … 102 104 uniform sampler2D shadowMap) : COLOR 103 105 { 104 float4 light = float4(1,1,1,1);106 float4 light = 0;//loat4(1,1,1,1); 105 107 106 108 if( IN.LightVPos.z > 0.0) -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material
r2404 r2442 12 12 target ps_3_0 13 13 } 14 15 16 17 14 18 15 19 material Difflab/TexturedPhong … … 21 25 pass 0 22 26 { 23 27 IllumTechniques 28 { 29 30 // RenderTechnique CausticReceiver 31 // { 32 // max_caster_count 1 33 // } 34 RenderTechnique DepthShadowReceiver 35 { 36 max_light_count 3 37 vertex_program_name GTP/Basic/LightCPos_VS 38 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 39 set_light_view true 40 set_light_farplane true 41 light_viewproj_param_name LightViewProj 42 light_view_param_name LightView 43 light_farplane_param_name lightFarPlane 44 world_view_proj_param_name WorldViewProj 45 world_param_name World 46 nearest_from_camera false 47 } 48 } 49 24 50 vertex_program_ref PhongViewSpaceVS 25 51 { … … 111 137 pass 112 138 { 113 IllumTechniques 114 { 115 116 // RenderTechnique CausticReceiver 117 // { 118 // max_caster_count 1 119 // } 120 RenderTechnique DepthShadowReceiver 121 { 122 max_light_count 3 123 vertex_program_name GTP/Basic/LightCPos_VS 124 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 125 set_light_view true 126 set_light_farplane true 127 light_viewproj_param_name LightViewProj 128 light_view_param_name LightView 129 light_farplane_param_name lightFarPlane 130 world_view_proj_param_name WorldViewProj 131 world_param_name World 132 nearest_from_camera false 133 } 134 } 139 135 140 136 141 ambient 0.37606 0.37606 0.37606 1 … … 149 154 pass 0 150 155 { 151 IllumTechniques 152 { 153 154 //RenderTechnique CausticReciever 155 //{ 156 // max_caster_count 1 157 //} 158 RenderTechnique DepthShadowReciever 159 { 160 max_light_count 3 161 vertex_program_name GTP/Basic/LightCPos_VS 162 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 163 set_light_view true 164 set_light_farplane true 165 light_viewproj_param_name LightViewProj 166 light_view_param_name LightView 167 light_farplane_param_name lightFarPlane 168 world_view_proj_param_name WorldViewProj 169 world_param_name World 170 nearest_from_camera false 171 } 172 } 156 173 157 fragment_program_ref 174 158 { … … 193 177 pass 194 178 { 195 IllumTechniques 196 { 197 198 // RenderTechnique CausticReceiver 199 // { 200 // max_caster_count 1 201 // } 202 RenderTechnique DepthShadowReceiver 203 { 204 max_light_count 3 205 vertex_program_name GTP/Basic/LightCPos_VS 206 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 207 set_light_view true 208 set_light_farplane true 209 light_viewproj_param_name LightViewProj 210 light_view_param_name LightView 211 light_farplane_param_name lightFarPlane 212 world_view_proj_param_name WorldViewProj 213 world_param_name World 214 nearest_from_camera false 215 } 216 } 179 217 180 fragment_program_ref 218 181 { … … 251 214 pass 0 252 215 { 253 IllumTechniques 254 { 255 256 //RenderTechnique CausticReceiver 257 //{ 258 // max_caster_count 1 259 //} 260 RenderTechnique DepthShadowReceiver 261 { 262 max_light_count 3 263 vertex_program_name GTP/Basic/LightCPos_VS 264 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 265 set_light_view true 266 set_light_farplane true 267 light_viewproj_param_name LightViewProj 268 light_view_param_name LightView 269 light_farplane_param_name lightFarPlane 270 world_view_proj_param_name WorldViewProj 271 world_param_name World 272 nearest_from_camera false 273 } 274 } 216 217 275 218 fragment_program_ref 276 219 { … … 298 241 { 299 242 300 //RenderTechnique CausticReceiver 301 //{ 302 // max_caster_count 1 303 //} 304 RenderTechnique DepthShadowReceiver 305 { 306 max_light_count 3 307 vertex_program_name GTP/Basic/LightCPos_VS 308 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 309 set_light_view true 310 set_light_farplane true 311 light_viewproj_param_name LightViewProj 312 light_view_param_name LightView 313 light_farplane_param_name lightFarPlane 314 world_view_proj_param_name WorldViewProj 315 world_param_name World 316 nearest_from_camera false 317 } 318 } 243 319 244 fragment_program_ref 320 245 { … … 357 282 pass 0 358 283 { 359 IllumTechniques 360 { 361 362 //RenderTechnique CausticReceiver 363 //{ 364 // max_caster_count 1 365 //} 366 RenderTechnique DepthShadowReceiver 367 { 368 max_light_count 3 369 vertex_program_name GTP/Basic/LightCPos_VS 370 fragment_program_name GTP/Basic/SM/Dist_VSM_PS 371 set_light_view true 372 set_light_farplane true 373 light_viewproj_param_name LightViewProj 374 light_view_param_name LightView 375 light_farplane_param_name lightFarPlane 376 world_view_proj_param_name WorldViewProj 377 world_param_name World 378 nearest_from_camera false 379 } 380 } 284 285 381 286 fragment_program_ref 382 287 {
Note: See TracChangeset
for help on using the changeset viewer.