- Home /
My Game Renders Awful In Android Build
Hi. I'm working on a 3D Sniper game and have finished the project. When I test it on Windows (7). It's All Fine, not even a bug. But when I take the app into android (Bluestacks App Player), my buttons and images render in Solid Black color. and my trees are Solid White. Some materials are rendering black too. You can see this in the image below
That Black Square On Top Right Corner Is A UI Button And The White Regions Are Tree And Bushes. The Black Thing In The Bottom Is A APC Tank.
Are you remembering to include the shaders in your project?
What shaders shoul i include? I have no idea about how to use shaders to solve this
A shader is the program that a GPU uses to draw a pixel to the screen. Different GPUs support different shaders and mobile devices in particular may not support the same shader features as desktop GPUs. So are you only using mobile shaders?
Additionally, Unity will only include those shaders in the build that it knows to be referenced in the scene. If you are assigning shaders at runtime, you'll need to explicitly specify them in the "Always Included Shaders" project setting.
@Atikalaker All materials should use a shader. You could think of a shader as what gives you parameters and then draws your materials: without shaders you could not specify a color or texture for a material. A material is just something used to store your settings: which shader to use and the parameters for that shader. So the materials for the bark and leaves will have a shader assigned here:
Your answer
Follow this Question
Related Questions
lightmapScaleOffset dont work in unity 5 0 Answers
Problem After Building Game In Unity 5 1 Answer
How To Switch Spatializer Plugin In The Runtime 0 Answers
Receive shadows on "Screen Space - Camera" canvas 2 Answers
Directx12 CreateExternalTexture 2 Answers