[osg-users] Disabling shadows for text

2013-10-31 Thread Anders Backman
Hi all. Assume I want to add text following an object in the scenegraph, so I create a geode with text below a MatrixTransform in the scene. Now assume I want to disable shadows (when ShadowMap) for the text (obviously). Is the only way to do that, to have a separate graph for the text (without

Re: [osg-users] Disabling shadows for text

2013-10-31 Thread Trajce Nikolov NICK
Hi Anders, Try putting an empty osg::Program in the stateset for the text geodes Nick On Thu, Oct 31, 2013 at 11:24 AM, Anders Backman ande...@cs.umu.se wrote: Hi all. Assume I want to add text following an object in the scenegraph, so I create a geode with text below a MatrixTransform in