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 a-t-hellboy · Nov 10, 2014 at 08:10 AM · shadertransparent diffuse

Transparent/Diffuse problem for plane texture

Hi

I created plane and gave texture to it but when I change shader of this material to Transparent/Diffuse it'll be dark although the main color is white . So I want to know where the problem is !

Comment
Add comment · Show 6
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 a-t-hellboy · Nov 10, 2014 at 08:19 AM 0
Share

alt text

It's a dark one on unity3d !

and It's a original one :

alt text

mountains layer 2.png (193.8 kB)
dark transparentdiffuse texture.png (64.6 kB)
avatar image CHPedersen · Nov 10, 2014 at 08:57 AM 0
Share

I downloaded your texture and tried it myself, first with Diffuse, then with Transparent/Diffuse. It works fine on my machine. Strange. Here's a screenshot:

alt text

I did notice some funny lines colors around the mountain tops, though. There are layers of alpha-0 yellow and purple behind the mountains.

capture.png (170.6 kB)
avatar image a-t-hellboy · Nov 10, 2014 at 09:40 AM 0
Share

Yup, I've noticed that before and I don't know where the problem is but I checked it and just it's one layer, btw I figure out I used quad ins$$anonymous$$d of plane do you think the problem is this ?

avatar image a-t-hellboy · Nov 10, 2014 at 09:51 AM 0
Share

So I checked it in another project and it's very nice, so I think It's bug !

avatar image MrSoad · Nov 10, 2014 at 02:31 PM 1
Share

Have you tried the "Unlit/ Transparent Cutout" shader to see if it works how you want it to with that?

Show more comments

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by screenname_taken · Nov 10, 2014 at 08:47 AM

Most probably the "main color" property of the shader is not set properly. Set to a dark tint.

Comment
Add comment · Show 2 · 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 a-t-hellboy · Nov 10, 2014 at 09:03 AM 0
Share

alt text

I don't see any problems in it ! you see ?

main color.png (53.5 kB)
avatar image screenname_taken · Nov 10, 2014 at 01:45 PM 0
Share

No. And it just occurred to me. You are using diffuse, which takes into account a light source. Do you have a light source in your scene, and if you do, is it shinning towards it; or towards its back?

avatar image
0

Answer by mr_zog · Sep 10, 2015 at 02:35 PM

Maybe your normals (or scale) are wrong? E.g. zero or pointing in the wrong direction? Helped me ...

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 komodor · Sep 10, 2015 at 02:49 PM

diffuse shader needs light pointing at it

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

6 People are following this question.

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

Related Questions

How to make a submesh from part of my character 1 Answer

Transparent w/ Full Shadowcasting in Unity 5 1 Answer

How to use Camera.RenderWithShader() to modify rendered image? 0 Answers

Transparent Diffuse doesnt work after lightmap 1 Answer

angrybot water shader lagging problem 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