PDA

View Full Version : MSAA black edge jaggies similiar to pre-multiplied texture



Zebratov
07-22-2014, 03:32 AM
Hi all,

I am trying to render a smooth AA text.

I've created a polygon mesh using a tessellator, then using a MSAA pass to get smooth edges.

*Weirdly the MSAA pass will result with black jaggies, around the edges (similar to pre-multiplied texture)

Weirdly because if I do a unpremultiplication the result is fine! (see second attachment)

I am almost 100% positive its the MSAA that causes this issue because If I turn the MSAA off, I get the regular white jaggies (steps)

Thanks!

Zebratov
07-23-2014, 01:55 AM
Ok, I found the problem,
It seems doing "per pixel geometry" vector art (s.a bezier curves) does not work well with MSAA.

May need to change my text algorithm.