Methods for rendering an object includes determining diffuse illumination
values for object surface points, associating a 3D grid including
vertices with the object, mapping object surface points to vertices,
determining diffuse illumination values for vertices from the diffuse
illumination values for object surface points, low pass filtering diffuse
illumination values for the vertices to determine illumination
compensation values for the vertices, determining illumination
compensation values for the object surface points from the illumination
compensation values for the vertices, and determining compensated diffuse
illumination values for the object surface points from a weighted
combination of the diffuse illumination values and illumination
compensation values for the surface points.