Martin, And for the second question, yes, you can use 16 bits per channel. GL_UNSIGNED_BYTE means 8 bits per channel, so GL_UNSIGNED_SHORT is for 16 bits.
Mourad 2009/7/29 Martin Großer <[email protected]> > Year! That is right. I feel awful about this mistake. > > First I try GL_FLOAT and I forget to change the value from 1 to 255. > Thanks for your help. > > Martin > > Am 29.07.2009 11:39, schrieb David Spilling: > > Martin, > > I think you want this: > > data[i] = 255; //red > > > David > > ------------------------------ > > _______________________________________________ > osg-users mailing > [email protected]http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

