[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)



The spec. is not unclear. The extension spec. does not amend Section 4.4.5 of the core OpenGL ES 2.0 spec. which includes

The following internal formats are color-renderable: RGB565, RGBA4, and RGB5 A1. No other formats, including compressed internal formats, are color-renderable.

and similar limitations on which formats are depth- and stencil-renderable.

If WebGL's version of OES_float_texture is allowing floating point textures to be renderable, then it is a different extension and it needs to document all the relevant interactions. If it is intended to be the same as OES_float_texture then allowing the float texture to be color-renderable is a bug.

Regards

-Mark



On 11/08/30 11:32, Benoit Jacob wrote:
Thanks. If the spec is too unclear for you to support attaching float textures to FBOs, then maybe we should explicitly disallow that in WebGL, for portability's sake.
begin:vcard
fn:Mark Callow
n:Callow;Mark
org:HI Corporation;Graphics Lab, Research & Development
adr:Higashiyama 1-4-4, Meguro Ward;;Meguro Higashiyama Bldg 5F;Tokyo;;153-0043;Japan
email;internet:callow_mark@hicorp.co.jp
title:Chief Architect
tel;work:+81 3 3710 9367
tel;fax:+81 3 5773 8660
x-mozilla-html:TRUE
url:http://www.hicorp.co.jp, http://www.mascotcapsule.com
version:2.1
end:vcard