vertex_program GTP/Demo/BumpMapped_VS hlsl { source bump.hlsl entry_point BaseVS target vs_3_0 } fragment_program GTP/Demo/BumpMapped_PS hlsl { source bump.hlsl entry_point BumpPS target ps_3_0 } material DetailTexturedBumpBase { technique maintechnique { pass mainpass { IllumTechniques { //RenderTechnique PathMap //{ // pass_blending dest_alpha one //pass_blending none //pass_blending add //} } vertex_program_ref GTP/Demo/BumpMapped_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto World world_matrix param_named_auto WorldI inverse_world_matrix param_named_auto wLightPos light_position 0 param_named_auto wCamPos camera_position param_named normalCoord float 0 } fragment_program_ref GTP/Demo/BumpMapped_PS { param_named_auto wLightPos light_position 0 param_named_auto wLightDir light_direction 0 param_named_auto lightRange light_attenuation 0 param_named_auto lightPower light_power 0 } } } } material GreatPillarTrunk : DetailTexturedBumpBase { 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 greatpillardetail.png } texture_unit displace { texture greatpillardisplace.dds } } } } material GreatHallFloor : DetailTexturedBumpBase { technique maintechnique { pass mainpass { IllumTechniques { RenderTechnique DepthShadowReceiver { //pass_blending none max_light_count 1 vertex_program_name GTP/Basic/LightCPos_VS fragment_program_name GTP/Basic/SM/Dist_POINT_VSM_PS //fragment_program_name GTP/Basic/SM/Dist_VSM_PS set_light_view true set_light_farplane true light_viewproj_param_name LightViewProj light_view_param_name LightView light_farplane_param_name lightFarPlane world_view_proj_param_name WorldViewProj world_param_name World } } ambient 1 1 1 1 diffuse 1 1 1 1 specular 0.57852 0.57852 0.57852 25.49 emissive 0 0 0 vertex_program_ref GTP/Demo/BumpMapped_VS { param_named normalCoord float 1 } texture_unit tile_texture { texture greatHallFloorTile.jpg } texture_unit detail_texture { texture greathallfloordetail.png } texture_unit displace { texture floornormal.jpg } } } } material GreatHallWall : DetailTexturedBumpBase { 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 moriaWall.png } texture_unit detail_texture { texture greatHallWallDetail.png } } } } material GreatHallPillarHead : DetailTexturedBumpBase { 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 pillarheaddetail.png } } } } material GreatHallCeiling : DetailTexturedBumpBase { 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 moriaceilingdetail.png } } } } material GTP/Moria/Smoke_L_Depth_Illum { technique { pass { IllumTechniques { RenderTechnique HPS { particle_script GTP/Moria/Smoke_Little perspective false vparam_radius baseRadius update_interval 1 } RenderTechnique SphericalBillboard { texture_unit_id 1 } RenderTechnique IllumVolume { material GTP/HPS/Smoke_IllumVolume update_interval 1 texture_unit_id 2 resolution 128 lightmatrix_param_name lightViewProj } } depth_check off depth_write off scene_blend alpha_blend vertex_program_ref GTP/HPS/Large_Depth_Illum_VS { param_named_auto worldView worldview_matrix param_named_auto worldViewInv inverse_worldview_matrix param_named_auto Proj projection_matrix param_named_auto width viewport_width param_named_auto height viewport_height param_named baseRadius float 1 } fragment_program_ref GTP/HPS/Large_Depth_Illum_PS { } //impostor texture texture_unit { //filtering none } //scene depth texture texture_unit { filtering none } //Ilumination volume texture_unit { //filtering none } } } }