mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-24 03:12:03 -05:00
13 lines
201 B
GLSL
13 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];
|
|
}
|