Hey, is this a limitation or bug in the way fonts are drawn when WebGL is enabled?
Text with WebGL disabled in Firefox:
<img src="https://dl.dropbox.com/u/2014107/screenshot16.jpg" border="0" />
Text with WebGL enabled in Firefox:
<img src="https://dl.dropbox.com/u/2014107/screenshot17.jpg" border="0" />
It's like there's no antialiasing when WebGL is enabled.
This is with r101. Same thing happens in Chrome.
Are you sure 'sampling' isn't set to 'point'?
Develop games in your browser. Powerful, performant & highly capable.
I'm pretty sure it wasn't but I'll check tomorrow.
Since WebGL can't directly draw text, it actually renders to an offscreen canvas 2D then copies the result to the display. So in theory it should look identical, because both renderers draw text the same way. Of course, reality isn't always the same as theory :) Because WebGL treats text as a texture, text rendering is affected by the sampling and pixel rounding properties, which it isn't in canvas 2D. Do those settings affect it? Also a .capx example would help me investigate.
Sampling is set to Linear and Pixel Rounding is off.
Here's a .capx example. (r102)
I'm running this on a half year old laptop with Win7, Geforce GTX560M graphics card with latest drivers.