About Store Forum Documentation Contact



Post Reply 
[bug] Incorrent alpha drawing in 2d
Author Message
neuroliquid Offline
Member

Post: #1
[bug] Incorrent alpha drawing in 2d
Latest Esenthel draws transparent 2d images too bright with color banding and unwanted trash visible.
Screen shows the same app compiled with EE v60 and v62 under lubuntu 19.10.
I also attach this simple example project.

Code:
void InitPre()
{
   EE_INIT();
   D.full(false);
}

ImagePtr logo;
bool Init()
{
   logo=UID(3860093945, 3574369248, 4276216170, 453248498);
   return true;
}

void Shut(){}

bool Update()
{
   if(Kb.bp(KB_ESC))Exit();
   return true;
}

void Draw()
{
   D.clear(BLACK);
   logo->drawFs();
}


Attached File(s) Image(s)
   

.zip  banding_example.EsenthelProject.zip (Size: 372.96 KB / Downloads: 3)
02-11-2020 04:21 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: [bug] Incorrent alpha drawing in 2d
this is due to linear gamma update.
You can improve quality by setting "Full" Type instead "Compressed" in image properties
02-12-2020 08:02 AM
Find all posts by this user Quote this message in a reply
Post Reply