Jump to content

How to improve anti-aliasing?


arek3D
 Share

Recommended Posts

Hello,

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! :)

 


 

with_antialiasing.jpg

without_antialiasing.jpg

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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