vertex_program GTP/MoriaDemo/MoriaHallBase_VS hlsl { source MoriaScene.hlsl entry_point MoriaHallBase_VS target vs_3_0 } fragment_program GTP/MoriaDemo/MoriaHallBase_PS hlsl { source MoriaScene.hlsl entry_point MoriaHallBase_PS target ps_3_0 } material MoriaHallBase { technique maintechnique { pass mainpass { IllumTechniques { RenderTechnique PathMap { //pass_blending one one new_passes false start_tex_id 3 } //RenderTechnique SphericalBillboard //{ // bind_texture false //} RenderTechnique DepthShadowReceiver { max_light_count 2 set_light_viewproj false set_light_view true set_light_farplane true light_view_param_name LightView light_farplane_param_name lightFarPlane new_passes false start_tex_id 6 } } vertex_program_ref GTP/MoriaDemo/MoriaHallBase_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto World world_matrix param_named_auto WorldI inverse_world_matrix param_named_auto wCamPos camera_position param_named normalCoord float 0 param_named texture_repeat float 1 } fragment_program_ref GTP/MoriaDemo/MoriaHallBase_PS { param_named_auto wLightPos1 light_position 0 param_named_auto wLightPos2 light_position 1 param_named_auto lightRange1 light_attenuation 0 param_named_auto lightRange2 light_attenuation 1 param_named_auto lightPower1 light_power 0 param_named_auto lightPower2 light_power 1 param_named_auto lightColor1 light_diffuse_colour 0 param_named_auto lightColor2 light_diffuse_colour 1 param_named specularity float 20 param_named specularColor float4 0.2 0.2 0.2 0.2 } texture_unit tile_texture { } texture_unit detail_texture { } texture_unit displace { texture nullbump.bmp //filtering none //tex_address_mode clamp } texture_unit pathMap { //filtering none } texture_unit PMweightIndex { filtering none } texture_unit PMweight { filtering none } texture_unit SM1 { } texture_unit SM2 { } } } } material Ceiling : MoriaHallBase { technique maintechnique { pass mainpass { texture_unit tile_texture { texture marble.jpg } texture_unit { texture MoriaCeilingColor.png colour_op modulate } } } } material PillarHead : MoriaHallBase { technique maintechnique { pass mainpass { texture_unit tile_texture { texture marble.jpg } texture_unit { texture MoriaPillarHeadColor.png colour_op modulate } texture_unit displace { texture greatpillarheadbump.bmp } } } } material PillarTrunk : MoriaHallBase { technique maintechnique { pass mainpass { ambient 1 1 1 1 diffuse 1 1 1 1 specular 0.08264 0.08264 0.08264 2 emissive 0 0 0 texture_unit tile_texture { texture marble.jpg } texture_unit detail_texture { texture MoriaPillarColor.png } texture_unit displace { texture greatpillarbump.bmp } } } } material GreatHallWall : MoriaHallBase { technique maintechnique { pass mainpass { texture_unit tile_texture { texture moriaWall.png } texture_unit detail_texture { texture MoriaWallColor.png colour_op modulate } texture_unit displace { texture morialwalldetailbump.bmp } } } } material GreatHallFloor : MoriaHallBase { technique maintechnique { pass mainpass { vertex_program_ref GTP/MoriaDemo/MoriaHallBase_VS { param_named normalCoord float 1 param_named texture_repeat float 3 } texture_unit tile_texture { texture greatHallFloorTile.jpg } texture_unit detail_texture { texture MoriaFloorColor.png } texture_unit displace { texture floornormal.jpg } } } } material MazarbulHallElem : MoriaHallBase { technique maintechnique { pass mainpass { texture_unit tile_texture { texture marble.jpg } texture_unit detail_texture { texture MoriaHallElemColor.png colour_op modulate } } } }