+2
Under review

double sided

vincent 11 years ago updated by Julien 9 years ago 5
Hi I got a simple cloth shader. The mesh needs to get some cloth simulation so I want a double sided material without alpha. When the material is set to double sided the shadow's that are supposed to be rendered behind the object are some how showing on the object.
I use forward rendering and I get the same result when I set the Face Culling to front face culling. Only the back face  culling mode seems to render the shadows correct.
Thx
I'll have a look at this later. So far this has been a desired effect on things such as leaves, as shadows pass through them, but I can see you would want to be able to toggle this
Cool;) I do wonder of this is the effect you want to have for leaves? The shader now has the Face Culling set to Front Face Culling and as you can see the shadows behind it are visible on the object while the shadows are blocked by the part of the mesh where the faces are culled;s If you get what I try to explain.. (The picture is of a towel draped over a pergola, the wire frame are the culled faces)
Anyway I thought I let you know.
I think I got what the issue is now, thanks for the images!
+1

Hi,

Same problem with see though shadows.

The weird thing is that the shadows are visible depending of the plan orientation. When i rotate, the plan become opaque (image1).

Other thing when i enable ignore projectors the problem go away but the model don't receive shadows anymore (image2) not a good solution.


Can you help me with this?


Before After