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

GSdx-hw: Sonic Unleashed OI hack #2998

Merged
merged 4 commits into from
Jun 23, 2019
Merged

Conversation

lightningterror
Copy link
Contributor

@lightningterror lightningterror commented Jun 19, 2019

  • Purge existing crc hack for Sonic Unleashed
  • Add support for rgba channel selection to StretchRect d3d11/gl
  • Add an OI hack for Sonic Unleashed that will allow us to replace draws by a copy, it will allow to render the shadows properly now on Sonic. Requires crc level above minimum for it to work.

Collaborators/credits to Gregory and Kojin for helping with the code.

Before:
gsdx_20191130173322

After:
gsdx_20191130173301

It will allow to render the shadows properly.

Rendering pattern is:
Save RG channel with a kind of a TS (replaced by a copy in this hack),
compute shadow in RG,
save result in alpha with a TS,
Restore RG channel that we previously copied to render shadows.
@gregory38
Copy link
Contributor

I think we are good now !

@lightningterror lightningterror merged commit b198041 into master Jun 23, 2019
@lightningterror lightningterror deleted the sonicunleashed-gsdxtweaks branch June 24, 2019 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants