[osg-users] Single channel image

Tony Vasile minghia at gmail.com
Fri Mar 4 00:49:31 PST 2016


I trying to render a single channel image on a Billboard but I am having no much luck. I'm expecting to see the black parts of the image to be transparent but I am just seeing black. The white parts of the image are as expected. I have tried using 
Code:
setInternalFormat(GL_ALPHA_8)

, but all I get is the colour of the Billboard that the image is rendered on. Does anyone have any ideas on how I get this image to render properly.

------------------------
Tony V

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



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: exhaust.rgb.txt
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160304/4fcf45a4/attachment-0002.txt>


More information about the osg-users mailing list