Jump to content

How to improve anti-aliasing?


Recommended Posts


I have a problem with anti-aliasing while I am using bright reflection map and fresnel.

If I turn off anti-aliasing using "engine: new BABYLON.Engine(canvas, false)," there isn't any white pixels on the edges. But if I turn on anti-aliasing using "engine: new BABYLON.Engine(canvas, true)," there are some white, ugly, jagged edges.

Is there any command to have more control of strength and quality of anti-aliasing?

I tried to set post process using different sampling mode (NEAREST, BILINEAR, TRILINEAR), but only thing I noticed was worse performance.

var postProcess = new BABYLON.FxaaPostProcess("fxaa", 1.0, null, null, engine, true);

I hope you can help me in this issue.

P.S. Thanks for this great framework! :)





Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...