[osg-users] Color transparency/opacity

2007-08-28 Thread Nicholas Yue
Hi, I tried to modify and existing sample tet6.osg so that the 4th color component is lesser than 1.0. I was expecting to see some transparency in the tetrahedron but the color looks solid. Regards 8<--8<--8<--8<--8<--8<--8<--8<-- Geode { UniqueID Geode_0

Re: [osg-users] Color transparency/opacity

2007-08-29 Thread Mathieu MARACHE
You need to add a StateSet to your geometry to activate openGL blending 2007/8/29, Nicholas Yue <[EMAIL PROTECTED]>: > Hi, > > I tried to modify and existing sample tet6.osg so that the 4th color > component is lesser than 1.0. > > I was expecting to see some transparency in the tetrahedron bu