Sharing uniforms between Programobjects

I need to switch between different programobjects that basically share many uniforms. ARB_vertex_program allowed that different programs could share information via “program environment” parameters. glSlang doesn´t seem to support that. The only way I see is to (ab)use some of the built-in gl-state uniforms to (constant)information between different program-objects.
Is there a better way?

thx

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.