A program for generating an image, the program causing a computer to
function as: an object space setting section which sets an object in an
object space; a vertex processing section which performs per-vertex
processing; and a pixel processing section which performs per-pixel
processing, wherein, when subjecting an object of a first group to
predetermined processing which is implemented by a first processing and a
second processing, the vertex processing section performs the first
processing with a processing load lower than a processing load of the
second processing, and the pixel processing section performs the second
processing; and wherein, when subjecting an object of a second group
differing from the first group to the predetermined processing which is
implemented by a third processing and a fourth processing, the vertex
processing section performs the third processing with a processing load
higher than a processing load of the fourth processing, and the pixel
processing section performs the fourth processing.