You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In regular kag, images drawn with sprites have transparent pixels under a certain threshold have those pixels become fully transparent. Above a certain threshold they become opaque if I recall correctly.
This sort of sprite has 4 transparent pixels that are used as markers to attach limbs, however in game these marker pixels become visible:
The text was updated successfully, but these errors were encountered:
The issue is that following the render2d changes (understand: the internal name for a new unified and batched renderer in staging) the default RenderStyle now performs alpha blending.
... Because in vanilla for sprites it's "good enough" to not care too much about ordering when dealing with this blend mode, it indeed looks like the pixels are being blended against a black background (because they are).
There is an internal render2d blend mode that behaves the same as the vanilla KAG renderer, but it is currently not exposed.
The better option would be to make the default render style the same as before and instead expose a new RenderStyle that performs alpha blending, then change some scripts to use it (OTOH: speech bubbles).
In regular kag, images drawn with sprites have transparent pixels under a certain threshold have those pixels become fully transparent. Above a certain threshold they become opaque if I recall correctly.
![Human_Male](https://user-images.githubusercontent.com/5071831/136265810-d67eda01-d653-48e9-8773-9c316d036443.png)
![](https://camo.githubusercontent.com/ae9e9e4361ef9061d734477d92b7c39d7bdc36f005be60863b1ca380803c3b33/68747470733a2f2f692e6779617a6f2e636f6d2f38333832366239363733643933323137303033653734356330333232376263632e706e67)
![](https://camo.githubusercontent.com/dfa20bff9a77fd8bb25e67b5302c35dc0f920d0818db96988950d013d7180387/68747470733a2f2f692e6779617a6f2e636f6d2f31353639363265326165323161646264616333373435393736666563323034642e706e67)
This sort of sprite has 4 transparent pixels that are used as markers to attach limbs, however in game these marker pixels become visible:
The text was updated successfully, but these errors were encountered: