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

Re: [Public WebGL] a few Chromium + ANGLE features





On Fri, Dec 17, 2010 at 12:34 AM, Evgeny Demidov <demidov@ipm.sci-nnov.ru> wrote:
sorry if they are known bugs. All work fine with OpenGL and in Firefox.

1. "texture2D no matching overloaded function found" shader message in 3D simulations
http://www.ibiblio.org/e-notes/webgl/waves/barkley3d.html
texture2D are not supported in vertex shaders?

texture2D is not supported in vertex shaders in ANGLE currently. WebGL makes them optional. Your app needs to call gl.getParameters(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS). If it's 0 then there are no textures available to vertex shaders and your app should take action accordingly.

The error message you see happens to be side effect of the fact that ANGLE does not support textures in vertex shaders. If you try to use them you get that error. Hopefully they'll be supported in the future.

 
2. textures are not proper scaled in the particle demo
http://www.ibiblio.org/e-notes/webgl/models/fire.html

The only size point sprites guaranteed to exists is 1.0. To find the maximum size call

minMax = gl.getParameter(gl.ALIASED_POINT_SIZE_RANGE);
minSize = minMax[0];
maxSize = minMax[1];

On my machine, ANGLE reports a maximum size of 64. You're asking it to draw a much larger size.

 

3. The Mandelbrot set should be black (not dirty green) in
http://www.ibiblio.org/e-notes/webgl/mandelbrot_zoom.html
"for" operator feature? 

This is a bug. 
Please file it at
http://code.google.com/p/angleproject/issues/list 
 

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