use pre-multiplied alpha for cloak effects

This commit is contained in:
Matthias Mailänder
2015-08-08 19:02:03 +02:00
parent 4bc8a60fb9
commit 4b1bedd7dd
11 changed files with 32 additions and 18 deletions

View File

@@ -135,6 +135,7 @@ fremen:
CloakDelay: 250
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
IsPlayerPalette: true
-MustBeDestroyed:
Voiced:
VoiceSet: FremenVoice

View File

@@ -26,12 +26,6 @@
G: 0
B: 0
A: 140
PaletteFromRGBA@cloak:
Name: cloak
R: 0
G: 0
B: 0
A: 140
PaletteFromRGBA@highlight:
Name: highlight
R: 255
@@ -87,4 +81,8 @@
Premultiply: false
PlayerHighlightPalette:
FlashPaletteEffect:
PaletteFromPlayerPaletteWithAlpha@cloak:
BaseName: cloak
BasePalette: player
Alpha: 0.55

View File

@@ -357,6 +357,7 @@ stealthraider:
CloakDelay: 90
CloakSound: STEALTH1.WAV
UncloakSound: STEALTH2.WAV
IsPlayerPalette: true
AutoTarget:
InitialStance: HoldFire
-MustBeDestroyed: