vertex_program GTP/PathMap_VS hlsl { source PathMap.hlsl entry_point vsWalk target vs_2_0 } fragment_program GTP/PathMap_PS hlsl { source PathMap.hlsl entry_point psWalk target ps_3_0 flow_control prefer } material PRMDemo/Base { technique maintechnique { pass mainpass { IllumTechniques { // RenderTechnique PathMap // { // } // RenderTechnique DepthShadowReciever // { // max_light_count 2 // vertex_program_name GTP/Basic/LightCPos_VS // 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 // } } vertex_program_ref GTP/Basic/ShadedTex_VS { param_named_auto WorldViewProj worldviewproj_matrix param_named_auto World world_matrix param_named_auto WorldInv inverse_world_matrix } fragment_program_ref GTP/Basic/Shaded/TexturedOneLight_PS { param_named_auto lightPos light_position 0 param_named_auto lightDir light_direction 0 param_named_auto lightColor light_diffuse_colour 0 param_named_auto lightPower light_power 0 } texture_unit color { colour_op replace } } } } material PRMDemo/rustyMetal : PRMDemo/Base { technique maintechnique { pass mainpass { texture_unit color { texture wrtile.jpg } } } } material PRMDemo/redwire : PRMDemo/Base { technique maintechnique { pass mainpass { texture_unit color { texture redwire.bmp } } } } material PRMDemo/greenwire : PRMDemo/Base { technique maintechnique { pass mainpass { texture_unit color { texture greenwire.bmp } } } } material PRMDemo/whitewire : PRMDemo/Base { technique maintechnique { pass mainpass { texture_unit color { texture whitewire.bmp } } } } material PRMDemo/iron : PRMDemo/Base { technique maintechnique { pass mainpass { texture_unit color { texture w2.jpg } } } } vertex_program GTP/PathMap_ComputeWeights_VS hlsl { source PathMapWeightCompute.hlsl entry_point vsComputeWeights target vs_2_0 } fragment_program GTP/PathMap_ComputeWeights_PS hlsl { source PathMapWeightCompute.hlsl entry_point psComputeWeights target ps_3_0 } material GTP/PathMap_ComputeWeights { technique { pass { depth_check off cull_harware none vertex_program_ref GTP/PathMap_ComputeWeights_VS { } fragment_program_ref GTP/PathMap_ComputeWeights_PS { } texture_unit //entrypoint texture { filtering off } texture_unit shadow_map //stores distances { } } } } fragment_program GTP/PathMap_SumWeights_PS hlsl { source PathMapWeightCompute.hlsl entry_point psSumWeights target ps_3_0 flow_control prefer } material GTP/PathMap_SumWeights { technique { pass { depth_check off cull_harware none lighting off vertex_program_ref GTP/PathMap_ComputeWeights_VS { } fragment_program_ref GTP/PathMap_SumWeights_PS { } texture_unit //entrypoint texture { filtering none } texture_unit //entrypoint weight texture { filtering none } texture_unit //cluster length { filtering none } } } } vertex_program GTP/EPDisplayVS hlsl { source PathMapWeightCompute.hlsl entry_point EntryPointDisplayVS target vs_2_0 } fragment_program GTP/EPDisplayPS hlsl { source PathMapWeightCompute.hlsl entry_point EntryPointDisplayPS target ps_2_0 } material GTP/PM/EPBillboards { technique { pass { polygon_mode points point_size 10 vertex_program_ref GTP/EPDisplayVS { param_named_auto worldViewProj worldviewproj_matrix } fragment_program_ref GTP/EPDisplayPS { } texture_unit { filtering none } } } }