gwaldron/osgearth — pull request #174 by AlexBobkov (2012-07-13 15:56:57+00:00)
Title: Fixed bug in createSamplerFunction

Bug is described here: http://forum.osgearth.org/Issues-When-Sampling-a-Layer-In-Shader-td5993933.html
createSamplerFunction worked only for the first layer due to wrong sampler names.