Results 1 to 3 of 3

Thread: Anti-aliasing

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    2

    Anti-aliasing

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

  2. #2
    Junior Member
    Join Date
    Sep 2010
    Posts
    2

    Re: Anti-aliasing

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

  3. #3
    Senior Member
    Join Date
    May 2010
    Posts
    207

    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. [Anti-aliasing] how do i remove aliasing problem on ES1.0?
    By balladry in forum OpenGL ES general technical discussions
    Replies: 0
    Last Post: 02-09-2012, 05:58 PM
  2. Anti Aliasing
    By Raj in forum OpenGL ES general technical discussions
    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
  •