New version: http://www.pasteall.org/26482/diff
Applied Brecht's suggestion and placed the glsl lib header one level higher. I see that the lib source is also appended to the GPUPass structure. If so wouldn't it make sense to store the new lib code there(though it seems to work without doing so)? And if so, shouldn't we take care of creating the lib string once to avoid lots of duplicates around? Where is the best place for that? Not yet looked into loading Luminance images to the bump mapper. It's the most complicated part, but working on it. _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers