Re: [osg-users] Merge Shader::Program from differents node kits.

2017-03-01 Thread Christian Buchner
Pragmatic shader composition was introduced in OSG 3.4 only. Awkward... It seems that you will have to do a manual merging of the shaders and uniform variables unless you are able to upgrade OpenSceneGraph. Christian 2017-02-28 16:53 GMT+01:00 Dario Minieri : > Hi, > >

[osg-users] Merge Shader::Program from differents node kits.

2017-02-28 Thread Dario Minieri
Hi, I'm planning to using osgVegetation (https://github.com/leadcoder/osgVegetation) with osgOcean. Unfortunately, both use a lot of shaders and there are obviously problems in the underwater visualization because osgVegetation shader pipeline (which generates the vegetation billboard