WebGL Read pixels from floating point render target

前端 未结 3 1301
没有蜡笔的小新
没有蜡笔的小新 2020-12-01 07:09

There is some confusion e.g. in terms of support levels for rendering to floating point textures in WebGL. The OES_texture_float extension does not seem to mandate

3条回答
  •  清歌不尽
    2020-12-01 07:43

    I'm adding my recent discoveries: Chrome will let you read floats, as part of the implementation defined format (search for "readPixels" in the spec), Firefox implements the WEBGL_color_buffer_float extension, so you can just load the extension and read your floats, I have not been able to read floats with Safari.

提交回复
热议问题