Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Correct reflection projection/parallax #424

Open
2 tasks done
juicermv opened this issue Jan 23, 2024 · 5 comments
Open
2 tasks done

[Feature Request] Correct reflection projection/parallax #424

juicermv opened this issue Jan 23, 2024 · 5 comments

Comments

@juicermv
Copy link

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
Copy link

Quite annoying, yes. I support this.

@MOnkeMan5009
Copy link

Same thing in GTAV happening even

@juicermv
Copy link
Author

Yeah it's a technique they used in multiple games

@juicermv
Copy link
Author

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

@RecklessGlue540
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@juicermv @RecklessGlue540 @MOnkeMan5009 and others