ThirteenAG / GTAIV.EFLC.FusionFix

This project aims to fix or address some issues in Grand Theft Auto IV: The Complete Edition
GNU General Public License v3.0
912 stars 42 forks source link

[Feature Request] Correct reflection projection/parallax #424

Closed juicermv closed 3 weeks ago

juicermv commented 7 months ago

What should happen

In GTA IV, the reflection cubemap for buildings is captured from the camera's position, which causes incorrect reflections and artifacts. This can be seen on basically any building, where as you move closer to it the reflections get more accurate since the camera is basically at its position, but as you get further away the reflection starts to get messed up, usually causing the building to be reflected within itself. In general this causes buildings to reflect things they shouldn't like objects close to the player.

I think this is one of the glaring issues with the game, I'm not sure how this could be fixed exactly. Maybe somehow offset the building's position from the camera's when doing the reflection pass in the shader?

Checklist

RecklessGlue540 commented 7 months ago

Quite annoying, yes. I support this.

MOnkeMan5009 commented 7 months ago

Same thing in GTAV happening even

juicermv commented 7 months ago

Yeah it's a technique they used in multiple games

juicermv commented 7 months ago

No, that's not at all what I'm talking about here.

RecklessGlue540 commented 7 months ago

https://github.com/Parallellines0451/GTAIV.EFLC.FusionShaders/issues/15