Skip to content

Update all shaders to treat colours as premultiplied#348

Open
frenzibyte wants to merge 3 commits intoppy:masterfrom
frenzibyte:operation-go-premultiplied
Open

Update all shaders to treat colours as premultiplied#348
frenzibyte wants to merge 3 commits intoppy:masterfrom
frenzibyte:operation-go-premultiplied

Conversation

@frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Dec 14, 2024

Contains minor changes to logo animation shader to not be affected by colour premultiplication. It is a rare case of a shader that behaves differently based on the colour of a non-fully-opaque texture pixel, so I think this change for the shader can be justified.

Reprocessing the textures was done using a quick C# script powered by ImageSharp, the change may be integrable with the source of those textures (cc @bdach if you're interested as I remember you've gone through updating those textures when the logo changed).

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.

Intro animation broken on iOS

1 participant