Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 TonyAce · Oct 06, 2012 at 01:23 AM · iphonedistributionarmv7armv6

About Transprent mode

  1. Unity3d 3.56

  2. Xcode 4.4

  3. Texture = PNG

  4. Transprent mode = Transpren/Diffuse

  5. Use armv6 release is perfect

Then I appears the question is, the use of armv7 released to the xcode 4.4 later, in the iphone test, the use of the Transpren/Diffuse map are black, see a alpha channel, but no color information, how to solve?

This problem bothering me for several days, in unity3d wiki on the shade is the same problem, made before, but should be I expression is not good, not really get solved, hope this can have a good result, thank you!

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by OperationDogBird · Oct 06, 2012 at 07:06 AM

When an object being shaded for mobile comes up black, best bet is that the shader is not supported. Try using a different transparent shader to correct the problem. You can search around for some mobile shaders that have transparency or write your own (it actually isnt to tough to write this basic of a shader!).

If you dont have the time or patience, check out the forums or other answers posts for shader code. When you copy/paste it, go into the Project window, click the dropdown for 'Create' and choose 'Shader' to create the new shader script. Open that script and paste in the code you found.

The top portion of the shader code that looks like this:

Shader "Transparent/Skybox"

is the name that will appear when selecting the shader from the materials shader drop down. Thus this shader would be located in the 'Transparency' menu under the name 'Skybox'. Hope that helps a little.

Comment
Add comment · Share
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
0

Answer by TonyAce · Oct 06, 2012 at 07:21 AM

Thanks to reply I try to write their own shade, I think to join " _color" can join coloring function, but in fact is not how simple, so failed.

Thank you for your prompt, appears to be someone to help me solve before, I will try to learn to write the shade.

By the way, "Transprent/Diffuse" -- the mode in the use of armv6 architecture released to the iphone, is perfect, why use armv7 structure after releasing has problem? This is a bug?

Comment
Add comment · Share
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

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

10 People are following this question.

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

Related Questions

iPhone OS 4.0 : Build results in 'incorrect architecture' 1 Answer

Can I compile for armv7 only (iPhone)? 2 Answers

Is it necessary to build my iphone app with armv7 architecture? 1 Answer

Unity Iphone Exporting, armv??? 1 Answer

use armv7 is black screen on iphone 0 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