Type dxdiag and hit to launch the DirectX Diagnostic Tool. Navigate to the Display tab.

Run dxsetup.exe from that folder to install the legacy libraries.

If your hardware absolutely cannot support Pixel Shader 2.0 and you cannot afford an upgrade, there is one last resort.

If your hardware is extremely old (e.g., from the early 2000s), it may not support Pixel Shader 2.0 at all. In this case, the only solution is to upgrade to a newer, dedicated graphics card that meets modern hardware requirements. how do i get the shader model 2.0? - Microsoft Learn

Missing, corrupted, or generic Microsoft basic display drivers cause most shader errors. Installing the correct driver often unlocks your hardware's actual capabilities. Press Windows Key + R , type dxdiag , and hit Enter. Click the tab.