Handmade Hero » Forums » Code » Alternative to multisampling
19 posts
#11978 Alternative to multisampling
3 months, 1 week ago Edited by jeringa on May 17, 2017, 7:30 a.m.

Wouldn't "super sampling" be an alternative to multi sampling?
If you render to 2xWidth, 2xHieght then the final blit to the screen would get rid of the jaggies no?
Or would to start hitting fill rate issues?

Mārtiņš Možeiko
1440 posts
1 project
#11979 Alternative to multisampling
3 months, 1 week ago

Yes, super sampling is a valid way to do antialiasing. But as you already mentioned - it will be much more expensive because of 4x more work needs to be done. And that can be pretty expensive when you have complicated fragment shaders. For HandmadeHero game this could work fine, but for complex 3d games this will get very expensive.

And if you will want even better picture - 6x or 8x? The cost for that will be crazy. 8x means 64x more pixels to shade.