We simulate direct photon production in evolution of viscous QGP medium. Photons from Compton and annihilation processes are considered. Viscous effect on photon production is very strong and reliable simulation is possible only in a limited pT range. For minimally viscous fluid η/s=0.08), direct photons can be reliably computed only up to pT≤ 1.3 GeV. With reduced viscosity (η/s=0.04), the limit increases to pT≤2GeV.