Hello Michael, On 01/11/2011 03:27 AM, Michael Raab wrote: > I'm trying to apply vertex colors to some of my geometries. In each case I > have a ChunkMaterial above or assigned to the appropriate geometry nodes that > get the vertex colors. Can anyone tell me what is the cleanest way to tell > OpenSG to use the assigned vertex colors?
add a MaterialChunk to your ChunkMaterial and make sure SFColorMaterial is set correctly (defaults to GL_DIFFUSE), that way the vertex color will be used as diffuse color for lighting. Cheers, Carsten ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users