Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Does fbo work in iOS with GL_RGB?

$
0
0

@hamoid wrote:

Hi!

Using an RGB fbo works fine on Desktop but is shows on iOS.

RGBA works fine on both, but I want to save the image as a video frame, and iOS needs either RGB or ARGB data, not RGBA. And it needs to be fast (saving frames as real time video).

Ideally I would avoid the alpha channel to transfer 25% less data. Is it possible in iOS / GLES?

And if a shader outputs to an RGB fbo, do you still use a vec4 as gl_FragColor output?

Cheers!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles