This can be done easily by adding the shader to a material, and then connecting the material to a MaterialGroup node. A MaterialGroup node will override the materials of all decedent nodes, so if you put this MaterialGroup node as the root, and connect the current root as a child that should work for you.
On Wed, Sep 14, 2011 at 10:13 AM, Lukas Jacobs <ld...@tu-clausthal.de>wrote: > Hey there, it's me again. > I currently want to load q shader (via ShaderProgram::readProgram) and > apply it to every Object in my scene. You got any ideas how to achieve this? > > Thanks in advance > Lukas > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Opensg-users mailing list > Opensg-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/opensg-users > >
------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1
_______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users