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 shadow colors in jak 1 and jak 2 shadow crash #2647

Merged
merged 1 commit into from May 15, 2023
Merged

Conversation

ManDude
Copy link
Member

@ManDude ManDude commented May 14, 2023

Fixes Jak 1 shadow color. Old behavior is subtractive blend with a hardcoded value, which often times look way too dark, but it looks like the actual game uses some sort of multiplicative blend and a customizable shadow color (for all shadows at once).

Before vs after:
image
20230514234953763_gk_HxercNamqn

image
20230514235005037_gk_jGjwKFhnLE

Also fixes #2646

@ManDude ManDude merged commit ecf590f into master May 15, 2023
13 checks passed
@ManDude ManDude deleted the d/jak1-fix-shadows branch May 15, 2023 01:49
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.

[jak2] crash when too many shadow verts
1 participant