Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Atikalaker · Dec 19, 2015 at 09:03 AM · renderingunity5

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

alt text

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.

untitled.png (239.1 kB)
Comment
Add comment · Show 7
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tanoshimi · Dec 19, 2015 at 09:25 AM 0
Share

Are you remembering to include the shaders in your project?

avatar image Atikalaker tanoshimi · Dec 21, 2015 at 07:00 AM 0
Share

What shaders shoul i include? I have no idea about how to use shaders to solve this

avatar image tanoshimi Atikalaker · Dec 21, 2015 at 07:06 AM 1
Share

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.

Show more comments
avatar image Imankit · Dec 21, 2015 at 09:30 AM 0
Share

Which unity version are you using?

avatar image Atikalaker Imankit · Dec 21, 2015 at 03:52 PM 0
Share

5.2.1 pro.

avatar image Graphics_Dev · Jan 01, 2016 at 03:15 PM 0
Share

@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:

alt text

my-game-renders-awful-1.png (22.3 kB)

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges