0

Is there any way to remove a part of texture by using opengles for ios? for example i have a rectangle and want to destroy part of it

Nicol Bolas
  • 449,505
  • 63
  • 781
  • 982
Andrej Kovalksy
  • 225
  • 1
  • 3
  • 13

1 Answers1

2

I believe you need this: How to manipulate texture content on the fly?

Either create an empty texture and render a small quad using this empty texture on top of the FBO for your texture or use the glTexSubImage2D, which is easier for this simple purpose.

Community
  • 1
  • 1
Viktor Latypov
  • 14,289
  • 3
  • 40
  • 55