mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-03 04:44:47 +07:00
Fixed issue where DARKEN wasn't multiplying alpha value
This commit is contained in:
parent
3317794cb5
commit
8c7a340582
@ -94,7 +94,7 @@ void main() {
|
|||||||
// Same as 8, except darker
|
// Same as 8, except darker
|
||||||
} else if (blendMode == 10) {
|
} else if (blendMode == 10) {
|
||||||
if (color.a > 0.0) {
|
if (color.a > 0.0) {
|
||||||
color.rgb *= tint.rgb;
|
color.rgba *= tint.rgba;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user