jabuwu / rusty_spine

Spine runtime for Rust (and wasm!) transpiled from the official C Runtime.
https://docs.rs/rusty_spine
Other
43 stars 4 forks source link

Fix dark color when using premultiplied alpha #22

Closed jabuwu closed 6 months ago

jabuwu commented 6 months ago

Dark color must be premultiplied by the slot color's alpha. Also removed unnecessary calls to premultiply_alpha immediately after setting alpha to 1.