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

Add density levels for instancer LODs #545

Open
Foyezes opened this issue Nov 8, 2024 · 4 comments
Open

Add density levels for instancer LODs #545

Foyezes opened this issue Nov 8, 2024 · 4 comments
Labels
enhancement New feature or request idea Just an idea, may or may not be implemented
Milestone

Comments

@Foyezes
Copy link

Foyezes commented Nov 8, 2024

Description

I'm aware that mesh LODs aren't implemented yet. If the mesh LODs use different multimeshes for each one, they can also have different mesh density. This way the mesh / grass density can lower depending on distance from camera. I've included screenshots as an example. First image is LOD0 and LOD1, second image is LOD1 and LOD2. This can reduce overdraw in some cases as there's less overlapping of transparent meshes in the distance.

image
image

@TokisanGames
Copy link
Owner

How do you propose implementing lower density for lods?

@Foyezes
Copy link
Author

Foyezes commented Nov 8, 2024

How do you propose implementing lower density for lods?

You mentioned having separate multimeshes for LODs, those multimeshes can have independent densities. So LOD0 multimeshinstance will have the base density, LOD1 will have 75% of that, LOD2 will have 50% etc. There can be an option to adjust the %.

@Foyezes
Copy link
Author

Foyezes commented Nov 8, 2024

How do you propose implementing lower density for lods?

LOD

@Xtarsia
Copy link
Contributor

Xtarsia commented Nov 10, 2024

Could be probability to skip adding any given transform ( would allow any % value), or just skip every 4th, every other, or only add every 4th etc.

@TokisanGames TokisanGames added enhancement New feature or request idea Just an idea, may or may not be implemented labels Dec 6, 2024
@TokisanGames TokisanGames changed the title Add density levels for mesh LODs Add density levels for instancer LODs Dec 14, 2024
@TokisanGames TokisanGames added this to the Future milestone Dec 14, 2024
@TokisanGames TokisanGames moved this to Future Ideas in Terrain3D Roadmap Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea Just an idea, may or may not be implemented
Projects
Status: Future Ideas
Development

No branches or pull requests

3 participants