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

Re: [Public WebGL] readPixles() can't access float values (OES_texture_float interaction)

As I pointed out before, the core spec. does provide a guarantee. It says that the RGB565, RGBA4444 & RGBA5551 internal formats are color renderable and that NO other format is color renderable. Regardless of the confusion about how an application can guarantee to create a texture with one of these internal formats, it is very clear that an FP texture is not going to have one of these internal formats and will therefore not be color renderable.

An extension is required in OpenGL ES and in WebGL.



On 2011/08/31 21:11, Gregg Tavares (wrk) wrote:
As far as I recall, OpenGL ES 2.0 makes no promises about what types of textures can be bound to frame buffers. The only way to know is to bind one and then call glCheckFramebufferStatus.  

So, do we need a specific extension to enable rendering to floating point textures or is the current situation good enough?
fn:Mark Callow
org:HI Corporation;Graphics Lab, Research & Development
adr:Higashiyama 1-4-4, Meguro Ward;;Meguro Higashiyama Bldg 5F;Tokyo;;153-0043;Japan
email;internet:[email protected]
title:Chief Architect
tel;work:+81 3 3710 9367
tel;fax:+81 3 5773 8660
url:http://www.hicorp.co.jp, http://www.mascotcapsule.com