Can you explain what you are trying to accomplish? The getTexCoord() function will return the texture coordinates you assigned to the vertex. Your code is not specifying any texture coordinates, so getTexCoord() will return [0,0,0].
Texture coordinates for cube maps are generally specified as a 3 component normalized direction vector from the center of the cube.
|