Skip to content

Conversation

bhouston
Copy link
Contributor

Renamed MSAAPass -> ManualMSAARenderPass. I made this name change because:

  • It is "manual" as it doesn't use the HW MSAA capabilities of WebGL 2.
  • It is a "render" pass itself, unlike FXAAPass and SMAAPass, it doesn't need a preceeding RenderPass to work.

I have also removed the 32x sample pattern, it has rounding errors that lead to bad results with 8-bit per channel buffers.

I have streamlined the code a fair bit to reduce its bulk.

It now produces nice anti-aliased results like this on lines:

image

@mrdoob
Copy link
Owner

mrdoob commented Feb 18, 2016

Lovely!

mrdoob added a commit that referenced this pull request Feb 18, 2016
Improved ManualMSAARenderPass: new name, no rounding errors, simplified code.
@mrdoob mrdoob merged commit a663fa5 into mrdoob:dev Feb 18, 2016
@mrdoob
Copy link
Owner

mrdoob commented Feb 18, 2016

Thanks!

@bhouston bhouston deleted the msaa branch March 14, 2016 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants