alpha shadow image now has more fidelity at scaled up sizes = less banding

This commit is contained in:
Carsten Haitzler 2013-10-15 17:29:34 +09:00
parent b66dc2a3a0
commit 5b1cc34ff9
4 changed files with 12 additions and 4 deletions

View File

@ -179,7 +179,6 @@ collections {
image: "bg_shine.png" COMP;
image: "bg_glint.png" COMP;
image: "bg_glow_in.png" COMP;
image: "bg_shadow.png" COMP;
image: "bg_led_glow.png" COMP;
image: "bg_led_base.png" COMP;
image: "bg_led.png" COMP;
@ -189,6 +188,11 @@ collections {
image: "pm_fill.png" COMP;
image: "cr_glow.png" COMP;
}
set { name: "bg_shadow";
image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; }
image { image: "bg_shadow3.png" COMP; size: 400 300 99999 99999; }
}
sounds {
sample { name: "bell" LOSSY 64;
source: "bell.wav";
@ -200,7 +204,7 @@ collections {
part { name: "shadow";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bg_shadow.png";
image.normal: "bg_shadow";
fill.smooth: 0;
visible: 0;
}
@ -2482,16 +2486,20 @@ target: "0.clip"; target: "1.clip"; target: "2.clip"; target: "3.clip"; target:
images {
image: "pm_overlay.png" COMP;
image: "pm_fill.png" COMP;
image: "bg_shadow.png" COMP;
image: "inset_shadow.png" COMP;
}
set { name: "bg_shadow";
image { image: "bg_shadow.png" COMP; size: 0 0 200 150; }
image { image: "bg_shadow2.png" COMP; size: 200 150 400 300; }
image { image: "bg_shadow3.png" COMP; size: 400 300 99999 99999; }
}
parts {
////////////////////////////////////////////////////////////////////
// background and shadows
part { name: "shadow";
mouse_events: 0;
description { state: "default" 0.0;
image.normal: "bg_shadow.png";
image.normal: "bg_shadow";
fill.smooth: 0;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB