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

[Public WebGL] writing to OES_texture_float



one can write into the RGBA OES_texture_float (good news)
http://www.ibiblio.org/e-notes/webgl/barkley_ext.html
(OpenGL/ANGLE score is about 170/60)
but I failed to write into the LUMINANCE_ALPHA texture (is it RG in OpenGL 3.3 ?)
http://www.ibiblio.org/e-notes/webgl/barkley_e2.html
I tried both
out vec2 FragColor;
...
FragColor = vec2(unew, vnew );
and
gl_FragColor = vec4(unew, unew, unew, vnew );
Couldn't Kenneth Russell look the last script (near the commented lines)?


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: