Optical properties of GaN epilayers of a cubic phase are studied. We show a strong influence of the sample morphology on intensity of the edge emission. Whereas edge luminescence is reduced at the grain boundaries, red emission is spatially homogeneous.