I’m trying to get a cubemap to work with only some luck, I can visible see parts of the image on the cube map but when I rotate it, it starts to distort and becomes a mess. There seems to be a lot of threads pertaining to cubemaps but I haven’t seem to found any sort of solution. Any help or link to good examples would be appreciated.
Try it with just the normal. That is, pass “normal” as “reflection”. This should have the object rendered such that the direction of each vertex is mapped to an area on the cubemap. If it doesn’t, then there’s a good chance your normals are bad or your normal matrix is wrong. Or that your cubemap wasn’t uploaded correctly.
Also, you should be drawing a simple shape, like a sphere.