1. A method for rendering an image sample associated with a geometric primitive, the method comprising: selecting the image sample for rendering based on the image sample being at least partially covered by the geometric primitive; performing a stencil test on each stencil sample covered by the geometric primitive included in a plurality of stencil samples associated with the image sample to generate a set of stencil test results, wherein each stencil test result comprises a Boolean value of either pass or fail; based on the set of stencil test results, calculating a coverage percentage that indicates how much of the image sample is covered by the geometric primitive object; computing a color value based on a color shading operation associated with the geometric primitive; and computing a modulated color value for the image sample based on the color value and the coverage percentage.