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 a generation algorithm for ground mesh surface normals #347

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

rdw-software
Copy link
Member

It could likely use some optimization, but for the time being I don't particularly care to spend more time on this.


Resolves #333.

Probably not the most efficient way to do it and somewhat verbose, but it works and that's enough for now. Improve later, if need be.
This brings down the geometry generation time by 100ms or so? Still not amazing, but much less of a slowdown (and an easy win to take).
Another easy win that takes down the time required to generate normals for the terrain geometry by maybe 50% of the added time or so.
@rdw-software rdw-software merged commit 9ba4550 into main Jan 29, 2024
5 checks passed
@rdw-software rdw-software deleted the 333-smooth-terrain-shading 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.

Implement smooth shading for the ground mesh's terrain surface
1 participant