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
I take it there are no other hacks to make it work?
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 } ) ;
b[/b]