mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
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:
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;
|
||||
}
|
||||
Reference in New Issue
Block a user