Hello JeGx, thanks for the reply and I appreciate the effort you've put to incorporate the format into the tool right away
. I'm currently storing pixel index in texture, that's why I needed 16bit format support since the texture can be as big as 2kx2k. But unfortunately I'm working with a GNU/Linux build of GeeXLab. In general I'm having trouble to access a texture bound with a render target created with gh_render_target.create_ex()
(1 sample and no linear filtering) but they're working fine with gh_render_target.create()
I'm using the code such as below
-- init --
local PF_U8_RGBA = 3;
render_tex_tgt = gh_render_target.create_ex(winW, winH, PF_U8_RGBA, 0, 1)
render_tex_color = gh_texture.create_2d(winW, winH)
-- frame --
local col_tex_unit = 0
I'm yet to find a way to use the gh_texture.activate_rt_color()
method with MRT render target created with gh_render_target.create_v2()
. So it's possible that I'm using the methods in wrong way altogether.
In a few days I'll have access to a Windows PC, I'll let you know about the results I've got after testing it on that platform.