Floating point textures in OpenGL ES 2.0 on iOS without clamping them to [0, 1]

心不动则不痛 提交于 2019-12-03 13:53:18

I do not believe this is true for float textures. Check the extension docs:

http://www.khronos.org/registry/gles/extensions/OES/OES_texture_float.txt

It mentions:

"The selected groups are processed as described in section 3.6.2, stopping after final expansion to RGBA. If the internal format of the texture is fixed-point, components are clamped to [0,1]. Otherwise, values are not modified."

Trax

The whole thing about float textures is to support aprox [+inf,-inf] in shaders. You may find more useful information here: render to floating point texture under iOS

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!