SkyBox.vp

#version 130

in vec4 vVertex;

uniform mat4   mvpMatrix;

varying vec3 vVaryingTexCoord;

void main(void) 
{ 
    vVaryingTexCoord = normalize(vVertex.xyz);

    gl_Position = mvpMatrix * vVertex;
}

你可能感兴趣的:(SkyBox.vp)