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

The Great Pug may be overweight. #54

Open
owlboy opened this issue Jul 2, 2022 · 2 comments
Open

The Great Pug may be overweight. #54

owlboy opened this issue Jul 2, 2022 · 2 comments

Comments

@owlboy
Copy link
Owner

owlboy commented Jul 2, 2022

World download size seems to be bigger than necessary. This should be investigated.

@owlboy owlboy changed the title The Pug may be overweight. The Great Pug may be overweight. Jul 2, 2022
@owlboy
Copy link
Owner Author

owlboy commented Jul 24, 2022

I've identified one source of the recent asset bundle inflation: Filamented shader variants. I need to work on reducing the variety of variants used in the scene.

24.6 mb 8.1% […]/Filamented/Standard.shader

Lightmap data is the other major single source of scene size, but this has not changed for a few years. I have always intentionally used uncompressed lightmaps for quality reasons.

@owlboy
Copy link
Owner Author

owlboy commented Jul 25, 2022

I spent the last few hours adjusting the vast majority of materials that are using Filamented. The modified materials now use the same shader features, reducing the number of shader variants needed. These changes reduced the asset bundle footprint by about half.

13.4 mb 4.7% […]/Filamented/Standard.shader

I expect this will improve GPU performance too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant