Proper GLES2 shadow support