The future of raylib!

Mapping of OpenGL 1.1 immediate mode functions to OpenGL 3.2+ (and
OpenGL ES 2.0) programmable pipeline
This commit is contained in:
raysan5
2014-03-02 16:06:01 +01:00
parent 174cd86d08
commit 451568e5a9
4 changed files with 1138 additions and 0 deletions

15
src/simple150.frag Normal file
View File

@ -0,0 +1,15 @@
#version 150
uniform sampler2D texture0;
in vec2 fragTexCoord;
in vec4 fragColor;
out vec4 pixelColor;
void main()
{
// Output pixel color
pixelColor = texture(texture0, fragTexCoord) * fragColor;
//pixelColor = fragColor;
}