technique = threshold
{
  sampler = tex_samp
  {
        addressu = clamp
        addressv = clamp   
  }
  vertex_shader
  {
        target = vs_4_0
        name = glow_gen_threshold_tex.dsf
  }
  pixel_shader
  {
        target = ps_4_0
        name = glow_gen_threshold_tex.dsf
  }
}
technique = blur
{
    sampler = tex_samp
    {
        addressu = clamp
        addressv = clamp
    }
    macro = HORIZONTAL_PASS
    {
        max_value = 1
        min_value = 0
        def_value = 0
    }
    vertex_shader
    {
        target = vs_4_0
        name = glow_blur.dsf
    }
    pixel_shader
    {
        target = ps_4_0
        name = glow_blur.dsf
    }
}
technique = final
{
    sampler = tex_samp
    {
        filter = min_mag_mip_linear
        addressu = clamp
        addressv = clamp
    }
    vertex_shader
    {
        target = vs_4_0
        name = glow_final.dsf
    }
    pixel_shader
    {
        target = ps_4_0
        name = glow_final.dsf
    }
}