Use premultiplied alpha for all textures and blending.

This commit is contained in:
Paul Chote
2015-05-16 17:49:17 +01:00
parent 78f1e9fb2f
commit 26fd858fc7
16 changed files with 153 additions and 40 deletions

View File

@@ -49,6 +49,14 @@
G: 0
B: 0
A: 180
PaletteFromPaletteWithAlpha@effect75alpha:
Name: effect75alpha
BasePalette: effect
Alpha: 0.75
PaletteFromPaletteWithAlpha@effect50alpha:
Name: effect50alpha
BasePalette: effect
Alpha: 0.5
PaletteFromScaledPalette@starportlights:
Name: starportlights
BasePalette: d2k

View File

@@ -81,6 +81,7 @@ harvester:
LeavesHusk:
HuskActor: Harvester.Husk
WithHarvestAnimation:
Palette: effect50alpha
AttractsWorms:
Intensity: 700

View File

@@ -71,30 +71,24 @@ small_trail:
Start: 3735
Length: 4
Tick: 80
BlendMode: SoftAdditive
small_trail2:
idle: DATA.R8
Start: 3540
Length: 4
Tick: 80
BlendMode: SoftAdditive
bazooka_trail:
idle: DATA.R8
Start: 3381
Length: 4
Tick: 80
BlendMode: Translucency
Alpha: 0.75
bazooka_trail2:
idle: DATA.R8
Start: 3544
Length: 4
Tick: 80
BlendMode: Translucency
Alpha: 0.75
deviator_trail:
idle: DATA.R8

View File

@@ -23,7 +23,6 @@ harvester:
Tick: 80
ZOffset: 1
BlendMode: Multiply
Alpha: 0.5
dock: DATA.R8
Start: 3370
Length: 10

View File

@@ -34,6 +34,7 @@ Bazooka:
Image: RPG
RateOfTurn: 5
Trail: bazooka_trail
TrailPalette: effect75alpha
TrailInterval: 1
RangeLimit: 35
Warhead@1Dam: SpreadDamage
@@ -193,6 +194,7 @@ QuadRockets:
Image: RPG
RateOfTurn: 10
Trail: bazooka_trail2
TrailPalette: effect75alpha
TrailInterval: 1
Speed: 256
RangeLimit: 40

View File

@@ -73,6 +73,10 @@
G: 0
B: 0
A: 180
PaletteFromPaletteWithAlpha@placebuilding:
Name: placebuilding
BasePalette: ra
Alpha: 0.75
TSShroudPalette@shroud:
Type: Shroud
VoxelNormalsPalette@normals:

View File

@@ -30,7 +30,7 @@ Player:
LowPowerSlowdown: 3
SpeedUp: True
PlaceBuilding:
Palette: ra
Palette: placebuilding
SupportPowerManager:
ScriptTriggers:
MissionObjectives:

View File

@@ -1,8 +1,6 @@
overlay:
Defaults: place
Offset: 0, -12
BlendMode: Translucency
Alpha: 0.75
build-valid-snow:
build-valid-temperat:
build-invalid:
@@ -114,10 +112,10 @@ explosion:
Length: *
building: twlt070
ionring: ring1
BlendMode: SoftAdditive
BlendMode: Additive
Tick: 120
pulse_explosion: pulsefx2
BlendMode: SoftAdditive
BlendMode: Additive
Tick: 80
small_watersplash: h2o_exp2
large_watersplash: h2o_exp1