2
votes

Is it possible to change the sample position for the OpenGL rasterisation from (0.5, 0.5) to something else? (I am referring to the sample position used when rendering without any multisampling etc.)

The reason is that I would like to implement anti aliasing by blending multiple render results together with different sample positions. I would then need variables coming from the vertex shader to be interpolated to different positions within the pixel.

1

1 Answers

1
votes

You can use the dedicated GL extension (https://www.opengl.org/registry/specs/ARB/sample_locations.txt) if your driver support it.