Commit initial
This commit is contained in:
9
test/shader/.svn/text-base/test.vert.svn-base
Normal file
9
test/shader/.svn/text-base/test.vert.svn-base
Normal file
@ -0,0 +1,9 @@
|
||||
uniform mat4 modelview;
|
||||
uniform mat4 projection;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_Position = projection * modelview * gl_Vertex;
|
||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
||||
}
|
||||
|
6
test/shader/.svn/text-base/test2.frag.svn-base
Normal file
6
test/shader/.svn/text-base/test2.frag.svn-base
Normal file
@ -0,0 +1,6 @@
|
||||
uniform sampler2D texture;
|
||||
|
||||
void main()
|
||||
{
|
||||
gl_FragColor = texture2D(texture, gl_TexCoord[0]);
|
||||
}
|
Reference in New Issue
Block a user