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 MrDude · Apr 17, 2014 at 01:48 AM · shaderstransparencyalphadepthsorting

Looking for a transparent shader

I am looking for something I would have thought to be rather basic and yet I can't find it in Unity and my shader writing skills don't allow me to create it myself so can anyone please point me to a free shader that allows you to draw double sided semi transparent objects?

Please?

I am trying to create special effects that swirl around a character but instead of creating a mesh with 5000 triangles and creating loads of spikes I am trying to load a simple tube but use a texture that goes from fully opaque to fully transparent from bottom to top, respectively but with some extra spunk added in the middle. I want the player to see the effect surrounding the player (double sided) but to actually SEE the effect I need it transparent...

The problem with the transparent shaders I have seen so far is that they simply don't draw the front faces (???) when both front and back faces have transparency... Obviously having the front facing faces simply disappear is no good so does anyone know of a proper shader, please?

Thanks in advance

Comment
Add comment · Show 3
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 Jiro-Ng · Apr 17, 2014 at 02:01 AM 0
Share

I'm not sure what are you trying to do. But if you looking for Unity transparent shader, create a material in project taband select Shader -> Transparent/...

avatar image MrDude · Apr 17, 2014 at 02:10 AM 0
Share

As I stated in my question, the Unity transparent shaders do not work. Which is why I am asking for an alternative :(

As for what I am trying to do, as stated above, I want to swirl a semi transparent image around an object. Look at the image I am including. This is two shapes rotating around the character. There is a tube in the middle and then another shape a little further out. All the faces from the outer shape are being deleted so the tube in the middle can be shown ins$$anonymous$$d...

Plus, this shader is not double sided... so no, the Unity shaders are no good for this effect... :(

In the second image I use another shader and you can see the double sided effect and the correct depth sorting and the faces are not being culled incorrectly, but this is a transparent-cutout shader so in this case the faces are 100% opaque until they get cut... I need the faces to have transparency... not be cut off like this...

Unity's version... alt text The other shader... alt text

screen shot 2014-04-17 at 4.13.33 am.png (55.2 kB)
avatar image Jiro-Ng · Apr 17, 2014 at 04:08 AM 0
Share

I get what you mean now... Well, I can't help with this, $$anonymous$$inda advanced thing.

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

22 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

Related Questions

How to add transparency to a waving shader? 1 Answer

Changing custom shader. Add alpha cutout 1 Answer

Help with Shader (Depth rendering with alpha and intersection) 0 Answers

Transparent Diffuse Specular Normal Shader problem 1 Answer

Depth of field problem with transparent objects 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