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

Fix car lighting issues in DiRT 2. #13760

Merged
merged 3 commits into from
Dec 13, 2020
Merged

Fix car lighting issues in DiRT 2. #13760

merged 3 commits into from
Dec 13, 2020

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Dec 12, 2020

Fixes part of #13012 (except on GL ES 2.0 and maybe D3D9) by enabling the features I added to fix Outrun, and fixing a bug.

The effect is similar to Outrun's reflections, but uses a rotated precomputed shine map instead of realtime rendered reflection images.

Also does a bunch of code cleanup and an added feature I used for debugging this - in separate commits to not make the PR too messy.

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Dec 12, 2020
@hrydgard hrydgard added this to the v1.11.0 milestone Dec 12, 2020
@Panderner
Copy link
Contributor

This also fixes waters?

@hrydgard
Copy link
Owner Author

I don't think it fixes water, but I'm not sure. I changed it to "Fixes part of..." so the issue doesn't close.

@hrydgard hrydgard changed the title Fix graphics issues in DiRT 2. Fix car lighting issues in DiRT 2. Dec 13, 2020
@hrydgard hrydgard merged commit 1c925e7 into master Dec 13, 2020
@hrydgard hrydgard deleted the fix-dirt-graphics branch December 13, 2020 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GE emulation Backend-independent GPU issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants