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
1
Question by karma0413 · Jan 08, 2018 at 04:15 AM · rotationshadersskyboxalpha-channelcolor-space

[ReWorded] When my trees are rendered, the leaves are transparent...

The problem is that when I render the camera to a texture. Either I can have transparency in the background, but the leaves of trees are also transparent. Or I can have beautiful looking trees but no transparency in the alpha background.

Setting the renderTexture file to COLOR FORMAT: ARGB32 gives me transparency, but the leaves of the trees have no light and thus look super weird.

Setting the renderTexture file to COLOR FORMAT: RGB11110 gives great effect on the trees, but then I cannot have a starfield simulation because there is not transparency..

Either I am setting this up completely wrong, or I am misunderstand the actions I need to take



I even made a video on youtube because a simple picture didn't help my post last time! https://www.youtube.com/watch?v=EKnE5PPmOj0&feature=youtu.be

Here is the link to my previous post explaining it in words: https://answers.unity.com/questions/1451578/rendertexture-lacks-quality-trees-have-a-grey-outl.html

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 NorthStar79 · Jan 08, 2018 at 08:07 AM 0
Share

Hello, I guess there is light pass issue here that causes alpha blending act weird, it is probably because of your tree shader, but before dive into shaders, can you try to change your camera Rendering path, we can not see your camera rendering path in video but I assume it is in forward rendering mode, can you change it to deferred and inform us if it is works.

avatar image karma0413 NorthStar79 · Jan 08, 2018 at 08:19 AM 0
Share

Thanks for trying to help me. I did actually try to change the rendering path between all of them and it didn't change a damn thing, except the texture quality of the branches.

I did Notice a few things, which gives me more questions than answers: 1) Leaving everything the way it is, $$anonymous$$aking the starfield skybox purple makes the leaves turn purples. Which means that the leaves, when rendered, are completely transparent, not simply missing light but completely transparent!

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

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

Getting transparency issue on android build 1 Answer

Shader doesn't work when object is inverted by axis 1 Answer

Simple shader works in Editor-view but not in game-view. 0 Answers

second "skybox" camera and fps problem 0 Answers

Scrolling Skybox with a 2D space shooter 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