From Stephan Huber, "the softshadowmap-implementation does not compile on os x, to be more precise, the shader does not compile on os x because of some type-conflicts ala "can not convert from const int to const float"
From Stephan Huber, "the softshadowmap-implementation does not compile on os x, to be more
precise, the shader does not compile on os x because of some
type-conflicts ala "can not convert from const int to const float"

So I changed the offending lines to force the type of the vars. It works
now on OS X (albeit very slowly, 3fps on a 7300), perhaps you find the
changes useful. Note: perhaps there is a better way in shaders to
cast/convert from int to float and viceversa."



git-svn-id: 23b6355f2bb369032457de4eb5f713ee134f73a8@7239 16af8721-9629-0410-8352-f15c8da7e697

joevandyk/osg,joevandyk/osg,joevandyk/osg,joevandyk/osg,joevandyk/osg