]> OCCT Git - occt.git/commit
0032114: Visualization, TKOpenGl - broken PBR LUT on OpenGL ES 2.0
authorkgv <kgv@opencascade.com>
Tue, 2 Feb 2021 23:50:55 +0000 (02:50 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 3 Feb 2021 15:40:34 +0000 (18:40 +0300)
commit1ac837b2c2f2a6a5b27c8742ca21e3e1ffdd4f18
tree6cfd2a256b76a5108e54da09a41cd290fb820e75
parent75642c14893a2d99ed656e6db6606af75ee720fc
0032114: Visualization, TKOpenGl - broken PBR LUT on OpenGL ES 2.0

Added image formats Image_Format_RGF_half/Image_Format_RGBAF_half
with manual conversion between 32-bit float and 16-bit half-float values.

PBR LUT table is now converted into GL_HALF_FLOAT_OES data format in case of OpenGL ES 2.0.
src/Image/Image_Format.hxx
src/Image/Image_PixMap.cxx
src/Image/Image_PixMap.hxx
src/Media/Media_Frame.cxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_TextureFormat.cxx
src/OpenGl/OpenGl_View.cxx