glsl shadow shader fix; transition between cascades added