[osg-users] Get RGB Values from Texture

Maxim Stere osgforum at tevs.eu
Wed Nov 15 12:13:53 PST 2017

Hi Robert,

My Image is in GL_RGBA format stored as GL_UNSIGNED_BYTE

Given that information, is there a way to decompose the Unsigned Byte I get from Image->data(x,y,0) to R, G, B and A?


Thank you,

Read this topic online here:

More information about the osg-users mailing list