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 uberokeer · Mar 09, 2013 at 06:04 PM · textureplaneopacityopaque

Opaque Textures Not Working!

I was wondering how do I import a 2-sided plane into unity with a Texture that has opaque. I cannot seem to figure this out, whenever I import the plane into Unity the opaque parts are just black. I don't want any code or anything. Just how to import it normally.

Comment
Add comment · Show 2
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 jorashwil · Mar 09, 2013 at 07:22 PM 1
Share

try re-importing the textures. I had to do that a few days ago.

avatar image uberokeer · Mar 10, 2013 at 06:14 AM 0
Share

Okay I will.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Catlard · Mar 10, 2013 at 06:35 AM

Set the shader to a transparent shader. Transparent/diffuse usually works for one sided stuff... but you might also try a shader from the particles menu, so that you can see the back of it. I also know that there's a shader with SpriteManager 2 package that does this well. Does that help?

Comment
Add comment · Show 6 · 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 uberokeer · Mar 10, 2013 at 07:16 AM 0
Share

Yes but before i do, do it, I want to know, Does the shader overwrite the textures?? :/

avatar image Catlard · Mar 10, 2013 at 09:17 AM 1
Share

Overwrite? No, shaders don't change what the actual texture is, they just present it differently!

avatar image uberokeer · Mar 10, 2013 at 09:38 AM 0
Share

Okay I will definitely try that Thank You!

avatar image Catlard · Mar 10, 2013 at 09:44 AM 1
Share

Here's the shader I mentioned...

 Shader "Sprite/Double Sided Vertex Colored" {
 Properties {
     _Color ("$$anonymous$$ain Color", Color) = (0.5,0.5,0.5,1)
     _$$anonymous$$ainTex ("Base (RGB) Trans (A)", 2D) = "white" {}
 }
 
 Category {
     Tags {"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent"}
     ZWrite Off
     Blend SrcAlpha One$$anonymous$$inusSrcAlpha 
     SubShader {
         $$anonymous$$aterial {
             Diffuse [_Color]
         }
         Pass {
             Color$$anonymous$$aterial AmbientAndDiffuse
             Lighting Off
             Cull Off
         SetTexture [_$$anonymous$$ainTex] {
             Combine texture * primary, texture * primary
         }
         SetTexture [_$$anonymous$$ainTex] {
             constantColor [_Color]
             Combine previous * constant DOUBLE, previous * constant
         }  
         }
     } 
 }
 }
avatar image uberokeer · Mar 10, 2013 at 01:39 PM 0
Share

Thank you!

Show more comments

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

12 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 avatar image avatar image

Related Questions

Particle opacity 3 Answers

Display a texture fade? 0 Answers

Texture on plane not displaying properly 0 Answers

Change Texture of Plane with script 0 Answers

Changing Texture of Plane depending on Position 1 Answer


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