Skip to content

Support for transparent textures without _fbr naming suffix#6

Merged
lavenderdotpet merged 3 commits into
mainfrom
randombrushes/transparency-without-fbr
Jun 9, 2026
Merged

Support for transparent textures without _fbr naming suffix#6
lavenderdotpet merged 3 commits into
mainfrom
randombrushes/transparency-without-fbr

Conversation

@RandomBrushes

Copy link
Copy Markdown
Collaborator

This introduces special support for textures with transparent texels (textures with a name starting with "{").

The color index for transparent texels is index 255 in the Quake palette, which is in the range of fullbright colors. Thus, currently, transparent textures need a "_fbr" suffix to enable this part of the palette. However, this can lead to transparent textures having unintended fullbright texels, as there are duplicate color entries in the fullbright and non-fullbright parts of the color palette.

With these changes, textures with the "{" prefix will have color index 255 available automatically, without enabling the rest of the fullbright palette.

@lavenderdotpet lavenderdotpet merged commit e4f1d10 into main Jun 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants