[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Public WebGL] writing to OES_texture_float
- To: public_webgl@khronos.org
- Subject: [Public WebGL] writing to OES_texture_float
- From: Evgeny Demidov <demidov@ipm.sci-nnov.ru>
- Date: Thu, 16 Dec 2010 15:51:27 +0300
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- Organization: IPM RAS
- Sender: owner-public_webgl@khronos.org
- User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
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: