[osg-users] Is ShaderStorageBufferBinding global?

Robert Spearman rob at digitaliseducation.com
Sun Sep 29 17:54:33 PDT 2019


I have two nodes, A and B, each with their own SSBOs being bound to slot 
0.  A loads first, and then B.  They are on different scene graph branches.

It looks like node B replaces the SSBO binding set up by A.  The compute 
shader on A then modifies the SSBO used by B, causing neither node to 
behave correctly.  Each works fine as long as the other is not loaded.

I am surprised OSG (3.4.0) does not appear to be managing this state.  
Do I need to manage this myself?

Thanks,

Rob




More information about the osg-users mailing list