from bragg's law, theta is inversely proportional to lattice parameter. So if you have any change in lattice constant because of alloying additions, this may change. In case of textures also, you will find such variations. Your intensity will be affected based on the crystallinity