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

Re: [Public WebGL] Re: Fixing the OES_texture_float mess



I'm all for this - I'd absolutely love to have support for RGBA/FLOAT ReadPixels calls


On Mon, Nov 12, 2012 at 7:26 PM, Mark Callow <callow.mark@artspark.co.jp> wrote:

On 2012/11/13 10:50, Mark Callow wrote:

OES_texture_float and OES_texture_half_float say that some implementations may support rendering to these types. However the rest of the WebGL specification contains requirements that make the FP rendering somewhat less than useful. To whit:

  1. Color parameters to blendColor and clearColor are clamped to [0,1].
  2. Fragment shader outputs are theoretically clamped to [0,1].
There is a 3rd requirement that blocks the usability of FP rendering: ReadPixels. The proposed extensions add RGBA, float as the combination that can be used for FP buffers.

At present you have to track back to the underlying OpenGL ES OES_color_buffer_half_float to see that as it requires no new tokens. I'll add a comment to the Overview.

Regards

    -Mark

--
注意:この電子メールには、株式会社エイチアイの機密情報が含まれている場合が有ります。正式なメール受信者では無い場合はメール複製、 再配信または情報の使用を固く禁じております。エラー、手違いでこのメールを受け取られましたら削除を行い配信者にご連絡をお願いいたし ます.

NOTE: This electronic mail message may contain confidential and privileged information from HI Corporation. If you are not the intended recipient, any disclosure, photocopying, distribution or use of the contents of the received information is prohibited. If you have received this e-mail in error, please notify the sender immediately and permanently delete this message and all related copies.