Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 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 /
This post has been wikified, any user with enough reputation can edit it.
avatar image
3
Question by Statement · Jan 12, 2011 at 02:30 PM · shadershadowcutout

Is there any double sided shadow casting transparent cutout shader?

In our project we make use of characters that are paper-thin. For this approach we have used the Transparent/Cutout/Soft Edge Unlit shader that render both sides of the model. The problem is that this doesn't allow shadow receive/cast. What I wonder is if there is any known existing shader that can render both sides of an object, cast and receive shadows, and have a transparent cutout threshold?


Update

I made an attempt to modify Transparent/Cutout/Diffuse by adding Cull None. This does indeed render the model with shadows on both sides but since normal is pointing in one direction, lighting doesn't work. Would I have to make this a double pass shader?


Community wiki

Since question is no longer relevant for me (but might be for someone else), I flag this community wiki.

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 Eric5h5 · Jan 12, 2011 at 08:05 PM 0
Share

By far the easiest thing to do is just model both sides; duplicate the polygons and flip the normals.

avatar image Statement · Jan 12, 2011 at 09:14 PM 0
Share

Yes, I realize that. The thing is I am getting these requests that my stakeholder want added, and those are achieving this without having to remodel. For the moment we have remodeled the main character with double faces.

avatar image DaveA · Jan 13, 2011 at 09:16 PM 0
Share

Thanks for turning me on to this shader, just what I needed for my project.

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by backface · Jan 18, 2011 at 01:16 PM

have you tried the "tree soft occlusion leaves" shader ?

Comment
Add comment · Show 1 · 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 Velketor · Mar 28, 2011 at 11:26 PM 0
Share

ya that doesn't do it either

avatar image
1

Answer by Velketor · Mar 25, 2011 at 03:35 AM

you need to do "transparent --> cutout --> Soft Edge Unlit"

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
1

Answer by LexGear · Jun 24, 2019 at 09:17 AM

This is old, I know but I'm actually after the exact same thing. Double sided, shadow casting and receiving, transparent shader.

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

1 Person is following this question.

avatar image

Related Questions

Can I turn off realtime shadows and use a shader to cast realtime shadows? 0 Answers

Particle Cutout that cast shadow ? 2 Answers

Unity Custom CutOut Shader 1 Answer

(SOLVED) How to bake lightmaps with transparent cutout shader ? 2 Answers

Shader: Cutout behavior mixed with masking behavior 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