Files
itgmania212121/Data/Shaders/GLSL/Shell.vert
T
2011-03-12 22:24:28 -08:00

8 lines
172 B
GLSL

void main() {
vec4 position = gl_Vertex + vec4(gl_Normal, 1.0) * 0.125;
// prevent skewing
position.w = 1.0;
gl_Position = gl_ModelViewProjectionMatrix * position;
}