LostArtefacts / TR2X

Decompilation project for Tomb Raider II (1997), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
69 stars 4 forks source link

PS1 contrast levels #13

Open Richard-L opened 10 months ago

Richard-L commented 10 months ago

This was something Arsunt deliberated on for quite a while but eventually made it happen. He presented it like this:

image

Arsunt:

DirectX 5 has limited texture lighting formula. Every texture cannot be displayed lighter than it is. But it can be displayed darker than it is. PS1 had full range of texture brightness, so PS1 is more contrast when it comes to dynamic lighting and bright rooms So I made 3 modes of lighting contrast:

  • Low: texture lighting is clamped in 0%-100% range (that's how behaved PC version with hardware renderer).
  • Medium: texture lighting is clamped in 0%-150% range (that's most comfort way to play in my opinion, compromise between Low and High).
  • High: texture lighting is clamped in 0%-200% range (that's how behaved PC version with software renderer and PS1 version). This is especially noticeable when you use flare or flashing with guns

TR2M before (DX5): DX5

TR2M after (DX7): DX7

TR2X: image

PS1: image

In some levels that are naturally dark it can be quite striking - compare the dragon: PC: pc-dragon

PS1: ps1-dragon

Richard-L commented 1 month ago

Some of the above image links had broken and I fixed them.

While doing so, I found some examples of people trying TR2M's PS1 contrast levels in Golden Mask. The snow there looks too white, almost like a PS1 TR2-JP Tibet. Maybe due to these levels never meant to be played on the PS1? Something to perhaps keep an eye on for later.

gm-pc-contrast1 gm-ps-contrast1

gm-pc-contrast2 gm-ps-contrast2