Fixed terrain wasn't casting shadows onto itself;
Added ability for automatically blended textures to take slope into account