-
Advanced Member
Frequent Contributor
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules