arek3D Posted October 26, 2016 Share Posted October 26, 2016 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! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 26, 2016 Share Posted October 26, 2016 Hello unfortunately in the world of webGL there is no control over canvas antialiasing Can you share your sample on the playground? arek3D 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.