On Wed, Jun 23, 2010 at 1:19 PM, Robert Osfield <[email protected]>wrote:
> Hi John, > > > ... > As part of the shader composition work I believe we'll need to look at > lowering the CPU overhead of managing uniforms and shaders, and when > we add the shader composition on top the shader composition and > selection from cache osg::Program will need to be as efficient as we > can make it. It's no easy task. > > It might be a good idea to think about uniform block support now. While the implementation should be orthogonal to new shader composition stuff, a "common block" of uniforms that might be accessed by arbitrary shader components would go a long way to reducing the cost of uniform management. I know that Paul made noises about implementing uniform block support a while ago; I could take a crack at it too if no one else is. Tim
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
