Results 1 to 3 of 3

Thread: Anti-aliasing

  1. #1
    Junior Member
    Join Date
    Sep 2010


    Has anyone managed to get anti-aliasing to work in webgl?

  2. #2
    Junior Member
    Join Date
    Sep 2010

    Re: Anti-aliasing

    ..........Well after digging around I found out it's on by default *if* the browser supports it: ... html#5.2.1

    I take it there are no other hacks to make it work?

  3. #3
    Senior Member
    Join Date
    May 2010

    Re: Anti-aliasing

    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:

    Code :
       var gl = canvas.getContext ( "experimental-webgl",
                 alpha             : false ,
                 antialias         : true  ,
                 depth             : true  ,
                 stencil           : false ,
                 premultipliedAlpha: false } ) ;
    (NOTE: "antialias=true")

Similar Threads

  1. Replies: 0
    Last Post: 02-09-2012, 04:58 PM
  2. Anti Aliasing
    By Raj in forum OpenGL ES
    Replies: 2
    Last Post: 08-19-2005, 07:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean