mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-11 22:18:54 +01:00
Mapping of OpenGL 1.1 immediate mode functions to OpenGL 3.2+ (and OpenGL ES 2.0) programmable pipeline
15 lines
240 B
GLSL
15 lines
240 B
GLSL
#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;
|
|
} |