How to do supersampling of a raytracer

Hi I want to do 4x supersampling to my raytracer.can some one help me doing this.Please.

OpenGL is not a raytracer. This is an OpenGL forum.

Please ask on some other, more appropriate forum.

it’s easy, just render 4 times per pixel with a slight offset, and then just average them together.

Come on.

-+0.25 pixel in each dimension.