Hi,

I want to know if it is possible to make objects transparent without using a 
transparent texture .I am using the following code but it turns out to be 
opaque. 

              
        
                ss->ref();
                ss->setMode(GL_BLEND, StateAttribute::ON);
                ss->setMode(GL_FOG, StateAttribute::ON);
 -----------ss->setAttribute(fog,osg::StateAttribute::ON);
|               ss->setRenderBinDetails(11,"RenderBin");
|
Am i doing something wrong with the fog properties?
or 
is there a property of fog wich should be enabled to make the object 
transparent?

Thank you!

Cheers,
nikhil

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to