Planar reflection with a different material

Is there any solution for using two different materials for an object when it is rendered into the planar reflection buffer and when it is rendered “normally”?
I’m interested in any approach including modifying the shader codes.
Thanks.