Added example data.

This commit is contained in:
the_fiddler 2007-11-11 18:43:16 +00:00
parent 9f1593aada
commit 405e949a2a
4 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,5 @@
/* Copies incoming fragment color without change. */
void main()
{
gl_FragColor = gl_Color;
}

View file

@ -0,0 +1,8 @@
/* Copies incoming vertex color without change.
* Applies the transformation matrix to vertex position.
*/
void main()
{
gl_FrontColor = gl_Color;
gl_Position = ftransform();
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB