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

Correct various light param issues based on tests #11574

Merged
merged 7 commits into from
Nov 22, 2018

Conversation

unknownbrackets
Copy link
Collaborator

This is based on tests in hrydgard/pspautotests#197. Tried to keep the changes separate.

In general:

This could fix other cases. Unfortunately, doesn't appear to fix #4109 or the Blade Dancer lighting issue.

-[Unknown]

Oops, had inverted it.  This caused it to improperly clear when masked.
We only need the issue reported once.
Matches hardware tests and improves lighting for Virtua Tennis, see hrydgard#4140.
Just to ensure negative factors are handled too, as they are on hardware.
This is correct per hardware tests, see hrydgard#8403.  Note that the PS3 emulator
running PSP HD remasters does not correctly handle this, and applies
specular for negative diffuse factor.
@hrydgard
Copy link
Owner

Awesome stuff!

@hrydgard hrydgard merged commit d949300 into hrydgard:master Nov 22, 2018
@unknownbrackets unknownbrackets deleted the lighting branch November 22, 2018 20:32
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

Successfully merging this pull request may close these issues.

NBA Live 06 : Black texture (hand/leg) Sora no kiseki SC / HD light problem
2 participants