Added example data.

This commit is contained in:
the_fiddler 2007-11-11 18:43:16 +00:00
parent b9e51c4db8
commit c72890769a
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