imageworks/OpenShadingLanguage — pull request #282 by amartinez-cg (2013-08-29 05:22:17+00:00)
Title: Demonstrate simple material layering in OSL

Inspired by a conversation at the OSL BOF at Siggraph 2013, this pull request adds material layering functionality to ubersurface.osl, as well as a demonstrative test. It is intended to be an example of one possible way to implement material layering within OSL, but by no means do I claim it is the best method.