Closed wwylele closed 5 years ago
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage1D.xhtml https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage3D.xhtml
I checked gl spec and as I read so far the half float type is allowed for transferring pixels. And in fact, the corresponding gles page (https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexImage2D.xhtml) has GL_HALF_FLOAT included for type, so I believe this is also allowed in opengl4.
GL_HALF_FLOAT
type
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage1D.xhtml https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage2D.xhtml https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glTexImage3D.xhtml
I checked gl spec and as I read so far the half float type is allowed for transferring pixels. And in fact, the corresponding gles page (https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glTexImage2D.xhtml) has
GL_HALF_FLOAT
included fortype
, so I believe this is also allowed in opengl4.