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:
parent
174cd86d08
commit
451568e5a9
1 changed files with 1138 additions and 0 deletions
15
src/simple150.frag
Normal file
15
src/simple150.frag
Normal 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;
|
||||
}
|
||||
Loading…
Reference in a new issue