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

Re: [Public WebGL] OES_texture_float different behavior



Evgeny,

Could you please file an issue on
http://code.google.com/p/angleproject/issues/list and include a test
case along with your description of the problem?

Thanks,

-Ken

On Wed, Jun 1, 2011 at 11:29 PM, Evgeny Demidov <demidov@ipm.sci-nnov.ru> wrote:
> http://www.ibiblio.org/e-notes/webgl/test/n-test.html
>
> After reading then rendering to the same RGB (3 components) float32 texture
> (attached to FBO)
>     vec3 r = texture2D(samp, vTexCoord).xyz;
>     gl_FragColor = vec4(r, 0. );
>
> it is used as
>     gl_Position = prMatrix * mvMatrix * texture2D(uTexSamp, aPoints );
>
> With OpenGL driver texture values are   (r, 1.)
> and in ANGLE   (r, 0.)
> as I think (I don't see points with ANGLE)
>
> I've fixed this features in "N-body" and this test by writing
>     gl_FragColor = vec4(r, 1. );

-----------------------------------------------------------
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:
unsubscribe public_webgl
-----------------------------------------------------------