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

Implement directional lighting with screen blending for RSW scenes #346

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

rdw-software
Copy link
Member

Doesn't look quite right without the smooth terrain shading, but that still needs some cleanup - coming soon.


Resolves #133.

The blending is somewhat experimental; I half-suspect it doesn't work correctly for certain scenes but this needs to be investigated further (later).
That's a copy/paste error if ever I've seen one... The tests didn't catch it because they used identical values for all light components.
@rdw-software rdw-software merged commit 67d2736 into main Jan 29, 2024
5 checks passed
@rdw-software rdw-software deleted the 133-directional-rsw-lighting branch January 29, 2024 18:34
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.

Add support for directional lighting to the WebGPU mesh rendering pipeline
1 participant