Hi,

On Wed, 2011-09-14 at 17:13 +0200, Lukas Jacobs 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?

as long as the objects do not have shaders on their own, you can use a
ChunkOverrideGroup (COG) with the shader at the top of your graph.


     (Node) -core- (COG) -chunks- ShaderProgramChunk
      |
     (Node) the objects that should receive the shader



kind regards
  gerrit


------------------------------------------------------------------------------
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

Reply via email to