Skip to content

Convert icons to alpha only textures#530

Open
sarbes wants to merge 1 commit intoosmc:omegafrom
sarbes:texture-opt
Open

Convert icons to alpha only textures#530
sarbes wants to merge 1 commit intoosmc:omegafrom
sarbes:texture-opt

Conversation

@sarbes
Copy link

@sarbes sarbes commented Sep 7, 2025

I've ran the textures through my texture preprocessor script, to get rid of the color information. The affected textures now pack as R8 (alpha-only) textures.

Please check each and every texture thoroughly, as the conversion was an automated process. I've taken the liberty to remove the (seemingly random) shadows from some of the textures.

@samnazarko
Copy link
Contributor

LGTM.

@Ch1llb0 assume we will need other commits to other branches to sync up.

As discussed with @sarbes on Saturday, I'll look at automating the texturepacker process.

@sarbes is your preprocessor script public? This might be useful for us as a post-commit hook so that we can preserve the current workflow.

@sarbes
Copy link
Author

sarbes commented Jan 19, 2026

@samnazarko just seen your post.

Even with the script, you'd still need to modify the workflow. Each texture needs to be checked manually for issues. If there is an issue, you'd need to specify how the appearance is intended (on a file by file basis). And outside of trivial cases, it needs human intervention anyway. At this point, you could provide suitable textures to begin with.

The textures I've provided will render differently to the previous set. If minified/magnified, they won't render with grey fringes anymore.

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