I wish that global warming didn’t affect every aspect of the environment so dramatically.
We use 'wish' to regret something, a situation that is not as we would like it to be.
We use the past after 'wish', although the meaning may not be the past.
I wish there weren’t so many people at this football stadium.
There are a lot of people (present) and I regret that there are.
We might follow this with and if-clause stating how we would like the situation to be:
If I had stayed at home, I would have been able to see the game better.