Remember me

Lost Password?

Register now!


Who's Online
59 user(s) are online (53 user(s) are browsing Forums)

Members: 0
Guests: 59



Report message:*

Re: The OpenGL ES 2.0 thread

Subject: Re: The OpenGL ES 2.0 thread
by Capehill on 2020/7/21 12:43:29


Should it be possible to resize an FBO color attachment? I'm trying to use glTexImage2D to make texture match the changed viewport size but it seems to result in garbage output without GL or Nova errors.

I suppose it might be possible to re-create the FBO but it sounds a little bit overkill.

EDIT - this seems to work:

1) bind FBO
2) remove color attachment
3) resize texture
4) add color attachment again

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project