Skip to content

WebGLRenderer settings Q&A #473

Answered by vanruesc
Beilinson asked this question in Q&A
Discussion options

You must be logged in to vote

MSAA supersamples the depth buffer. This article provides a good overview of the technique.

  1. antialias: true only applies to the canvas. The RenderPass in postprocessing renders geometry to an off-screen render target which may use MSAA via the samples setting. This setting is currently exposed through EffectComposer.multisampling. MSAA solely applies to the edges of triangles and fully relies on depth. Copying a processed image from a render target to the canvas is done by rendering a single triangle that covers the whole screen. MSAA won't be able to do anything in this case.
  2. Depth is disabled on the canvas (depth: false) because it isn't needed for the blit operation, as explained abov…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Beilinson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants