mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2024-08-28 21:16:10 +02:00
14 lines
201 B
GLSL
14 lines
201 B
GLSL
#version 150
|
|
|
|
uniform vec4 uPalette[256];
|
|
uniform usampler2D uTexture;
|
|
|
|
in vec2 fTextureCoordinate;
|
|
|
|
out vec4 oColour;
|
|
|
|
void main()
|
|
{
|
|
oColour = uPalette[texture(uTexture, fTextureCoordinate).r];
|
|
}
|