This patch allows to use cube map textures in GLSL render.
Now, it's possible to use "samplerCube" GLSL instruction and add uniform via GPU_cube_map function.
Patch has several lacks, but they can be fixed latter:
- It doesn't consider DDS format of textures.
- It doesn't consider shader export.
It was tested with world textures.
I hope this patch will help Blender Foundation.
Valentin (Blend4Web Team).