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 night vision in SOCOM games (in fact, fix the CLUT8 effect properly) #17317

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

hrydgard
Copy link
Owner

I failed to notice that when doing the shift to apply the "texel offset" translating CLUT8 to a CLUT16 lookup, we also need to shift the mask used to choose color components to read.

Fixes #15071

Related to #11814

I failed to notice that when doing the shift to apply the "texel offset"
translating CLUT8 to a CLUT16 lookup, we also need to shift the mask
used to choose color components to read.
@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Apr 20, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Apr 20, 2023
@hrydgard hrydgard merged commit 6df9071 into master Apr 20, 2023
@hrydgard hrydgard deleted the fix-socom-nightvision branch April 20, 2023 22:38
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.

SOCOM U.S. Navy SEALs: Tactical Strike NVG not work in the night all always Black screen
1 participant