LostArtefacts / TRX

Open source re-implementation of Tomb Raider I and Tomb Raider II, along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
583 stars 36 forks source link

Request: Improved Color Depth? #801

Open Danath85 opened 1 year ago

Danath85 commented 1 year ago

Maybe this isn't possible, but i'm wondering if color display could be made better in Tomb1Main. There are some instances where colors look wrong/washed out, specially on objects/statics.

For example, this is how one of the statics i'm using should look like:

Sin título

And this is how it looks ingame instead, blue top looks all wrong and "washed" :(

Sin título1

Another example was Lara's pants, wanted to make them a different shade of gray but it looked awful, or even the panthers themselves can't be made black, they always look dark gray. If you need a better comparison let me know, i had a static that looked totally wrong but i would need to search for it now.

Raildex commented 1 year ago

The Tomb Raider 1 File format does not support 32/24/16 bit textures. Instead, it uses a (limited) palette and the "textures" contain indices into it.

Tomb Editor generates the palette by sampling the textures of the objects and the rooms to represent as many colors as possible, but also "crunches" similar colors if they are barely distinguishable.

Edit: This color palette is also used for lighting!

Danath85 commented 1 year ago

Oh that's unfortunate. :( Still, thank you for the explanation! :)