Files
Horizon-OC/Source/Atmosphere-MTC-Unlock/troposphere/haze/source/console_fsh.glsl
souldbminersmwc 15b7df8ef1 hoc-clk: add live vdd2, live boost clock and basic pwm dimming
hoc-sys: change stuff

ams-mtc: add ams-mtc

Update SECURITY.md

readme: fix alignment
2025-11-09 16:14:07 -05:00

16 lines
376 B
GLSL

#version 460
layout (location = 0) noperspective in vec3 inTexCoord;
layout (location = 1) flat in vec4 inFrontPal;
layout (location = 2) flat in vec4 inBackPal;
layout (location = 0) out vec4 outColor;
layout (binding = 0) uniform sampler2DArray tileset;
void main()
{
float value = texture(tileset, inTexCoord).r;
outColor = mix(inBackPal, inFrontPal, value);
}