[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] Anti-aliasing issues on Minefield and Webkit

Hi Andor,

Antialiasing IS implemented in WebGL, but your driver may not be
stable enough to support it.  When you request antialias to true,
whether it's honored or not really depends on your graphics card.  To
be sure, you can do something like

  var ctx = canvas.getContext("experimental-webgl");  // By default
antialias is on
  var attribs = ctx.getContextAttributes();

Please let me know what the result is and also your graphics card / os
/ browser, so we could look into the flicker issue.


On Thu, Apr 15, 2010 at 5:42 PM, Andor Salga <asalga@learn.senecac.on.ca> wrote:
> Hi,
>  Has anyone had any luck trying to enable anti-aliasing in Minefield? I'm
> trying this:
> var ctx = canvas.getContext("experimental-webgl", {antialias:true});
>   It doesn't seem to do anything at all. I'm guessing it's just not
> implemented.
> Webkit properly defaults anti-aliasing to true, but when I try to explicitly
> turn it off:
> var ctx = canvas.getContext("experimental-webgl", {antialias:false});
> my rendered frames flicker at about 1 FPS. Has anyone else seen these
> issues?
> Thanks,
>   Andor

You are currently subscribe to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email: