r-ex / LegionPlus

Asset Extraction tool for Apex Legends and Titanfall 2
GNU General Public License v3.0
235 stars 34 forks source link

[Titanfall 2 DDS] Allow exporting in sRGB #124

Closed begin-theadventure closed 1 year ago

begin-theadventure commented 1 year ago

Images (e.g. PNG) are darker when exported, this is because DDS images use the sRGB standard.

Tacentview, for example, has an option to change DDS to sRGB, which produces correctly bright images when exported to other formats.

IJARika commented 1 year ago

Legion exports DDS files as SRGB(DX10 formats). I've also just checked, and the PNGs look fine, this was an issue fixed a while back by Floxay I believe.

Maybe your Legion is out of date?

begin-theadventure commented 1 year ago

I'm using 1.7.0+3de60f3. Maybe extracting images with gamma correction applied is what I actually mean?

Example: Exported PNG: callsign_01_col But it should look like this (with the sRGB gamma correction): callsign_01_col-

IJARika commented 1 year ago

Does this only happen when trying to export ui images?

begin-theadventure commented 1 year ago

I exported Image v8 calling_card as PNG and everything is fine. The banner in it looks the same as the second image I sent. Also, when I exported it as DDS, it didn't require any gamma correction.

IJARika commented 1 year ago

Sick, but I was asking if this only happened when exporting the UI Image Atlas asset. I know there's nothing wrong with the base texture, pretty sure I found the spot that is causing issues as well.

IJARika commented 1 year ago

should be fixed with commit dcf475e

begin-theadventure commented 1 year ago

Great.