[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?

V/R,
--Maxim

------------------------
Thank you,
--Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72394#72394







More information about the osg-users mailing list