What kind of filter do I need if I want to reuse the shower water?
Step one is up to the local jurisdiction having authority - is this even legal in the specific place you want to do it? If not, fugeddaboutit.

After that there are many options - a reed bed filter is common in "permaculture" applications, a sand filter is another approach.