1. A method of rendering graphics in a computer device, comprising: receiving, at a graphics processing unit (GPU), a command to render primitives that compose an image; determining, by the GPU, respective sampling rate parameter (SRP) values for one or more regions of one or more primitives of one or more objects composing the image; determining, by the GPU, at least a first SRP value for a first region of at least one primitive used to compose the image and a second SRP value for a second region of the at least one primitive used to compose the image based on the respective SRP values for the respective regions of the image; identifying, by the GPU, a first set of a first number of samples covered by the at least one primitive in the first region and a second set of a second number of samples covered by the at least one primitive in the second region; and shading, by the GPU, at least a first fragment corresponding to the first region based on the first set of the first number of samples and the first SRP value, and at least a second fragment corresponding to the second region based on the second set of the second number of samples and the second SRP value.