That strongly influences, actually directly shapes, what works does the writer or the artist produces.
You're putting the cart before the horse.
Soviet Union's case is an exception to this: The Soviets were literally brainwashed by Hollywood movies and bootleg CIA video tapes to believe that everybody in the capitalist west lived like how the rich lived in Manhattan. They thought that they would keep all the good stuff from socialism (guaranteed jobs, reasonable pay, housing, free education, higher education, healthcare, reasonable retirement etc) but would also get the consumerism and the glamor depicted in Hollywood movies. They learned that things don't work that way.
Even until recently, there were Russians who still didn't know that there were homeless in the US. The Internet has likely changed that though...
And specifically, Poland was occupied by Soviet long enough to deserve not tonhave own art attributes to them.
Also, literature before revolutions and after them is much different. Topics, style of writing, who could get published or become famous are all much different. You can't attribute to Soviet what was done after Soviet broke up.
It's a touchy subject, and the recent Russian invasion explains why.