   Cube environment mapping GLSL (and WebGL)
  HiI am trying to set up cubic environment mapping using GLSL.I pproceeded as suggested hereozone3d  or herecg tutorialsNow, the problem is that the cube map gets flipped udside down when movingthe camera. For example, if I rotate the camera around the x-axis by 180 degreesthe cube map gets upside down.Here the pictures  Here (part of) my vertex shadervTransformedNormal = uNMatrix * vec4(aVertexNormal, 1.0);vec3 N = normalize(vTransformedNormal.xyz);vec3 transformedPosition = (uNMatrix  * vec4(aVertexPosition, 1.0)).xyz;vec3 I = normalize(transformedPosition - uEyePosition);    vReflectionVector = reflect(I,N);where uNMatrix is the normal matrix (equals the inverse transformed of the modelview matrix)and uEyePosition is a vector computed by multiplying the normal matrix by a zero vector.The cube map texture should be put together right as the flipping happens "inside" a texture.By the way, the project uses WebGL (and not OpenGL).Thanks in advance, I am working on this bug just tooo long...   