I forgot to add these.

This commit is contained in:
Colby Klein
2011-03-12 22:24:28 -08:00
parent 5d61b73157
commit 33712f8ce9
2 changed files with 10 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
void main() {
gl_FragColor = vec4(0.25, 0.125, 0.125, 1.0);
}
+7
View File
@@ -0,0 +1,7 @@
void main() {
vec4 position = gl_Vertex + vec4(gl_Normal, 1.0) * 0.125;
// prevent skewing
position.w = 1.0;
gl_Position = gl_ModelViewProjectionMatrix * position;
}