PDA

View Full Version : BigMuh's Diffusion shader shadow problem?!


chocobo2k
08-12-2004, 03:49 PM
Hi all of you, I am really impressed by your shader Bigmuh thanks very much. I used the shader connected to the ambient channel of my blinn's material and mapped all the other channels to PSD file. Every thing was cool except for the shadows when i turn on shadows the skin is totally ruined at it seems that the light does not hi the object as it should be.
some area's recieve shadows and some are not. I can use dirtmap to get much realistic effect but it still does not produce enough effect and I am using also FG.
Any ides would really helps me. btw turnnig off the shadows for the skin shader is also not a good solution if there was an object between the light and skin shaded object.

http://www.freeupload.net/uploads/821.jpghttp://img52.exs.cx/img52/9104/withoutShadows.jpg

http://img51.exs.cx/img51/2082/withShadows.jpg

any idea what causes this, I have tried changing the lights from directional to spotlight but the same results occur also I am using raytraced shadows in maya 6






http://www.freeupload.net/uploads/822.jpg

chocobo2k
08-14-2004, 02:57 PM
Now, I ve detected what cause this problem it seems that the opening of the eyes and the mouth cause light ray to pass through and produce that so dark shadows even the mouth is closed and there are eyes, teeth and gum closing those holes but there still the rays can pass and produce those shadows, any ideas please

Cat-Ham
08-15-2004, 12:06 AM
How u link diffusion shader in your shader node ?


works fine for me .



http://www.catham.hpg.ig.com.br/maya_sss_test3.jpg

chocobo2k
08-15-2004, 02:08 AM
well I have connected bigMuh diffusion shader to the ambient channel since if I connected it to the incadescence and use FG it will change how skin looks and there is no difference between direct light or spot light since they all gice the same result.
Can you try making your model with open eyes ball area and put some spheres to represent the eyes and then focus a spot light with raytraced shadows turned on and see if there will be dark shadows as it happened to me.

wedge
08-17-2004, 09:02 AM
the light is going through her eye holes. this happened to me a lot when i hadn't built my character's head yet. light was shining through the neck hole.

francescaluce
08-17-2004, 03:41 PM
I think this shader actually is good ONLY for solid meshes... for meshes with hollow parts.. mmh.. still not a good implementation... should be something that detect holes in the geometry... and get the option to render as a massive object.


you could also try to get rid of that by playing with the shadow color for the light you linked.. I put the color of the shadow equal to that of the color of the mesh.. or try to back illuminate your mesh by linking another light.. or try to map the diffusion efx with a texture.. or also try to use two diffusion shaders.. and ctrl the fading from darker and lighter parts.. but all of these.. get not really predictable results in animation.. or really it's a pain to ctrl them.




ciao
francesca

CGTalk Moderation
01-18-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.