pex-renderer icon indicating copy to clipboard operation
pex-renderer copied to clipboard

MSAA Antialiasing

Open vorg opened this issue 3 years ago • 0 comments

Even if MSAA FBO is supported in pex-context https://github.com/pex-gl/pex-context/issues/115 we will still have issue with HDR as currently tonemapping is done after rendering to texture. As MSAA doesn't work properly with HDR values the actual order of operations should be:

render scene -> tonemap -> msaa resolve -> inverse tonemap -> e.g. hdr bloom -> draw to screen

More info about inverse tonemapping HDR inverse tone mapping MSAA resolve A Quick Overview of MSAA Tone mapping

vorg avatar Nov 07 '22 22:11 vorg