RAM and how much it affects a native games performance?

Hi, looking to understand how much of an influence your mac's RAM affects a game's performance.

For example, Baldur's Gate 3 on an M3 MacBook Air 15in with 8gb vs 16gb vs 24gb. How much of a difference will there be from one to the other? are we talking a 25%+ jump in FPS and resolution with each increase in RAM level?

Thanks!