-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Comments
Quite annoying, yes. I support this. |
Same thing in GTAV happening even |
Yeah it's a technique they used in multiple games |
No, that's not at all what I'm talking about here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: