Using per-fragment shading for improved realism