hacks for emscripten with texture formats; fix with pixel store flags
fixes for emscripten in GlFramebuffer: use only functions which is in WebGL
glsl 1.0 support mat3, mat4, etc, but not mat4x3 or mat4x4. next versions of glsl support both mat4x4 and mat4