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

Lighting code cleanup and optimization #16791

Merged
merged 5 commits into from
Jan 11, 2023
Merged

Lighting code cleanup and optimization #16791

merged 5 commits into from
Jan 11, 2023

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Jan 11, 2023

Tighten up the vertex shader lighting code a bit, and prenormalize the spotlight direction to save a few instructions.

Anything to help the driver shader compilers compile faster and generate better code...

Followup to #16787

@hrydgard hrydgard added the GE emulation Backend-independent GPU issues label Jan 11, 2023
@hrydgard hrydgard added this to the v1.15.0 milestone Jan 11, 2023
@hrydgard hrydgard changed the title Lighting code cleanup Lighting code cleanup and optimization Jan 11, 2023
@hrydgard hrydgard merged commit 30586be into master Jan 11, 2023
@hrydgard hrydgard deleted the lighting-code-cleanup branch January 11, 2023 21:07
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.

1 participant