For lightmass, this needs to be enabled in the project setting. For rtx, it should work by default. It partially works with parallax. By partial, I mean the normals are taken into account during bake, if its enabled in the project settings, but the lightmap don't get parallaxed.