![]() |
#2
|
|||
|
|||
Hi,
Have you tried creating the image as a true grayscale image? To do that you would create the image like so: Code:
image->setImage(size,size,1,1,GL_LUMINANCE,GL_UNSIGNED_BYTE,new unsigned char[size*size],osg::Image::USE_NEW_DELETE); Code:
unsigned char *pixel = image->data(x,y); *pixel = 255; Also, make sure that the computer which is experiencing this problem is set to 32-bit color mode in the graphics card settings. It might be set to 16-bit. |
|
|