|
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.
(comments are locked)
|
|
have you tried the "tree soft occlusion leaves" shader ? ya that doesn't do it either
Mar 28 '11 at 11:26 PM
shawnkilian
(comments are locked)
|
|
you need to do "transparent --> cutout --> Soft Edge Unlit" Did you bother to read the question in any detail? 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.*
Mar 25 '11 at 12:47 PM
Statement ♦♦
I did read it in detail. I obviously mis-read it and made a mistake. It was late and I was just trying to help. no need to be rude.
Mar 26 '11 at 04:03 AM
shawnkilian
(comments are locked)
|

By far the easiest thing to do is just model both sides; duplicate the polygons and flip the normals.
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.
Thanks for turning me on to this shader, just what I needed for my project.