Skip to content

Fix alpha handling on HTML5 and HL builds#1526

Closed
moisesjpelaez wants to merge 1 commit intoKode:mainfrom
moisesjpelaez:general_fixes
Closed

Fix alpha handling on HTML5 and HL builds#1526
moisesjpelaez wants to merge 1 commit intoKode:mainfrom
moisesjpelaez:general_fixes

Conversation

@moisesjpelaez
Copy link
Copy Markdown
Contributor

Removes black outlines on images with transparency.

@RobDangerous
Copy link
Copy Markdown
Member

This also seems wrong. But feel free to provide a minimal sample so we can have a look at the actual problem.

@moisesjpelaez
Copy link
Copy Markdown
Contributor Author

moisesjpelaez commented Mar 27, 2026

The problem is in HL and HTML5 builds I'm having these semi-black outlines:
image
image

But they should look like this (taken from Armory's Krom):
image
image

The UI images and the texture in the model looked well when I made these changes.

By the way, a bit off-topic, I'd like to include Kha but I haven't seen a banner/logo, can I use Kode's logo for that?

@RobDangerous
Copy link
Copy Markdown
Member

Anything that uses Armory is very far from being a minimal sample unfortunately. But as I said in the other issue, the bug is in the Krom image export - and in Armory apparently, it seems to expect non-premultiplied images.
And yes, the Kode Parrot is the logo for everything here.

@moisesjpelaez moisesjpelaez deleted the general_fixes branch April 4, 2026 23:25
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