Gaming and rendering are 2 different terms and utilize 2 different areas of CPU.
Gaming is based on single core performances.
Rendering is based on multi core performance.
For gaming and rendering both, the FX 8 series is a better buy, you'll however need to OC it to match i5's single core performance. Get the FX you find cheaper and a good cooler for stable OCing temps.