better outline filter?

Does anyone have a better outline filter shader?
The one which comes with Panda ignores distance and multisampling.