Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bigger framebuffer than texture?

0 views
Skip to first unread message

Gernot Frisch

unread,
Oct 22, 2009, 3:48:54 AM10/22/09
to
Hi,

my problem is, that on iPhone I somehow can't get the alpha pixels of a
texture if the size is < 16x16.
I think it might be that the FBO I create is smaller, because I can load and
draw 1x1 textures.

Can the framebuffer be 16x16 and the texture 1x1?
glFramebufferTexture2DExt( GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
GL_TEXTURE_2D, texture, 0 );


--
------------------------------------
Gernot Frisch
http://www.glbasic.com

jbwest

unread,
Oct 22, 2009, 1:22:16 PM10/22/09
to

"Gernot Frisch" <m...@privacy.net> wrote in message
news:7kagrtF...@mid.individual.net...

Did you forget about power-of-2 requirement on general textures ? You can
load a 1x1 but you have to create a 2x2 unless you use NPOT extension.


jbw


0 new messages