Kagamia / WzComparerR2

Maplestory online Extractor
MIT License
406 stars 132 forks source link

MapRender: png output on maps with transparent objects #240

Closed nanochromatic closed 10 months ago

nanochromatic commented 10 months ago

I've noticed the png output on maps with transparent objects can be overexposed if background argb values are used. Setting the background argb value to 00ffffff can result in bright objects rendered in the png (see the row of four yellow bushes in the second image below). The map has transparent objects even in the no-argb png output. Unsure if this has an impact on the png output behavior.

Tested below with KMS v383, map id 309000000. First image has no argb value set, second image set to 00ffffff.

no-argb 00ffffff

In-game references image image YouTube video

Kagamia commented 10 months ago

This is not an expected behavior, will take a look.

Kagamia commented 10 months ago

Fixed by reseting alpha to 255 if user provides an opaque bgcolor.

nanochromatic commented 10 months ago

Tested the new build and can confirm setting an opaque bgcolor now outputs a png with no transparency. 👍