Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Try to fix #1363
  • Loading branch information
katajakasa committed Feb 12, 2026
commit f6290001061ad135172af7feb1b217a81d2c5550
7 changes: 2 additions & 5 deletions shaders/palette.frag
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ void main() {
return;
}


vec4 texel = texture(atlas, tex_coord);

// Don't render if it's transparent pixel
Expand All @@ -99,12 +98,10 @@ void main() {
texel.r = clamp(texel.r + offset, 0, limit);
}

bool NO_REMAP = SPRITE_HAR_QUIRKS && index > 0x30;

// If remapping is on, do it now.
bool NO_REMAP = SPRITE_HAR_QUIRKS && index > 0x30;
vec4 remap = texture(remaps, vec2(texel.r, remap_offset / 18.0));
if (SPRITE_REMAP && !NO_REMAP) {
vec4 remap = texture(remaps, vec2(texel.r, remap_offset / 18.0));

texel = remap;
}

Expand Down