View Full Version : Anti-aliasing
Has anyone managed to get anti-aliasing to work in webgl?
..........Well after digging around I found out it's on by default *if* the browser supports it:
https://cvs.khronos.org/svn/repos/regis ... html#5.2.1 (https://cvs.khronos.org/svn/repos/registry/trunk/public/webgl/doc/spec/WebGL-spec.html#5.2.1)
I take it there are no other hacks to make it work?
12-03-2010, 08:46 PM
It works for me in Windows7 under Chrome with a fairly decent nVidia graphics card - but I don't see it working in Chrome on any of my Linux machines - or in Firefox/Minefield on any platform. It also doesn't work on my son's crappy Win7 netbook which has a god-awful Intel graphics chipset (I won't dignify it with the title "GPU"!).
So I suspect it's just a matter of waiting for Firefox's implementation to catch up and for Chrome to add support for it with a real OpenGL driver instead of ANGLE.
I didn't have to do anything to make it work beyond:
var gl = canvas.getContext ( "experimental-webgl",
alpha : false ,
antialias : true ,
depth : true ,
stencil : false ,
premultipliedAlpha: false } ) ;
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.