On 20/06/2012 04:35, Nicolas Capens wrote:
It seems rather unfortunate to me that WebGL defaults to enabling anti-aliasing, given how much it can make the result differ between fully compliant implementations.It's for better visual quality, I suppose. Stage3D does the same. That's merely a point of interest. Stage3D post-dates us; I am not suggesting we copied them.
Also, while it's possible to prevent ANGLE from using centroid sampling, it's not an easy thing to do, and there are actually cases where centroid sampling is valuable (which is why it exists in the first place).Centroid vs. non-centroid sampling has been a choice shaders can make in desktop GL for a couple of versions now. One can therefore expect it to eventually show up in a distant future version of WebGL. That suggests it should not be arbitrarily used now. In what cases, given the WebGL and OpenGL ES spec's today is it valuable for ANGLE to use it?