Thanks~
Code: Select all
glGenFramebuffers(1, &framebuffer);
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, texWidth, texHeight, 0, GL_RGB, GL_HALF_FLOAT_OES, NULL);Code: Select all
glGenFramebuffers(1, &framebuffer);
glGenTextures(1, &texture);
glBindTexture(GL_TEXTURE_2D, texture);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, texWidth, texHeight, 0, GL_RGB, GL_HALF_FLOAT_OES, NULL);Thanks! As the glGetString(GL_EXTENSION) returns OES_texture_half_float, I thought it would work for me.OtherCrashOverride wrote:Floating point (and half-float) texture formats are not supported by the GPU on the Raspberry Pi.
GLES: Vendor=Broadcom
GLES: Renderer=VideoCore IV HW
GLES: Version=OpenGL ES 2.0
GLES: Extensions=GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker