[osg-users] Adding billboards with different names under the same geometry?

2020-05-20 Thread OpenSceneGraph Users
Hi, I'm displaying icons over the terrain as billboards (always facing the user). These icons represent structures and landmarks (hydroelectric dams, national parks, mountain peaks, mining projects...), so I'll load some tens of thousands of them, and show some hundred or a few thousand at a

[osg-users] pragmatic shaders changes?

2020-05-20 Thread OpenSceneGraph Users
Hi Community, Robert, I am working with the latest from the trunk and I see older coder which uses #pragmatic shaders is no longer working as it should - and it was working ok just can not recall the OSG version. Here is how I use the #pragmatic shaders: in the shader: #pragma import_defines