Skip to content

Conversation

@hrydgard
Copy link
Owner

Taking the power with negative coefs seems to have different effects on different backends. Let's avoid it.

Yes, the game does specify a negative cutoff cosine, which is mathematically a bit silly, unless we are using it wrong...

Fixes #19385

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Sep 25, 2024
@hrydgard hrydgard added this to the v1.18.0 milestone Sep 25, 2024
@hrydgard hrydgard merged commit d49733f into master Sep 25, 2024
@hrydgard hrydgard deleted the specular-math-fix branch September 25, 2024 19:12
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.

Syphon Filter: Remaining lighting problem (HW/SW transform difference)

2 participants