ptakun Posted June 19, 2007 Share Posted June 19, 2007 Hey all! It's possible to get L variable from light to modify opacity in objects during mantra evaluate shader for shadow ray? when dot(L,N) <0 my shadow start very sharp. I need smooth effect similar when shadow is turn off. in hip file go to /obj/geo1/shopnet1/vopnet1/thin_trans/wrap_light and turn on/off shadow. thanks!! Ptakun wrap_light.hip Quote Link to comment Share on other sites More sharing options...
Mario Marengo Posted June 20, 2007 Share Posted June 20, 2007 Hey all!It's possible to get L variable from light to modify opacity in objects during mantra evaluate shader for shadow ray? when dot(L,N) <0 my shadow start very sharp. I need smooth effect similar when shadow is turn off. in hip file go to /obj/geo1/shopnet1/vopnet1/thin_trans/wrap_light and turn on/off shadow. thanks!! Ptakun Hey ptakun, I haven't looked at the file, but I'm assuming you're trying to mix "wrapped" lighting and mapped shadows. If that's the case, then I can tell you they don't play well together. For wrapped lighting, you should really use traced shadows with a >0 spread and multiple samples -- the bigger the wrap, the bigger the solid angle (spread) of the trace. Otherwise you get into all kinds of nonsense with having to reduce the size of your objects when creating the shadow maps, so that it doesn't ruin your wrapping... and that's a headache. HTH. Quote Link to comment Share on other sites More sharing options...
ptakun Posted June 22, 2007 Author Share Posted June 22, 2007 Hey ptakun,Otherwise you get into all kinds of nonsense with having to reduce the size of your objects when creating the shadow maps, so that it doesn't ruin your wrapping... and that's a headache. Right! Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.