Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[V1] Uber.shader is 11.3 mb in the game build #333
I'm using Post-processing stack version v1 to apply "Bloom" effect to my camera.
When I build APK for Android, the largest file in the build is the "Uber.shader" occupying 11.3Mb of the build (33% of my app space). Is it a bug? How can I reduce that monstrous size?
This is due to the amount of variants in the Uber shader v1. The only way to reduce its size is to comment or remove the shader variants you don't actually use. See this section of the file. For instance if you don't use the bloom dirt texture you can delete