PDA

View Full Version : p_MegaTK shader ray traced shadows and transparent objects.


cookieface
07-08-2011, 03:46 AM
Is there any way to get the p_MegaTK shader to work with ray traced shadows and objects that use alpha channel transparency? I have a simple test, a quad with a cut out alpha texture mapped to it, when the quad casts a shadow it is the shape of the geometry rather than the cut out alpha. What am I doing wrong?

kiryha
07-08-2011, 08:17 AM
Do you have shadow shader(usualy it can be the same as surface shader) in MR section of shading group of puppet materials?

cookieface
07-08-2011, 04:49 PM
No I don't, under the shading group attached to the puppet shader I have:

Material Shader p_MegaTK1
Shadow Shader blank, what should I put in here?

malcolm341
07-08-2011, 05:54 PM
Oops, I was logged in with my girlfriend's account. Those questions above are from me. Looks like if I plug the shadow shader in from the mia material and put the alpha channel there as well everything works as intended. Thanks for the help!

kiryha
07-08-2011, 11:41 PM
Same as Material Shader, put there p_MegaTK1.

Puppet|
07-09-2011, 08:03 AM
Maya should connect p_MegaTK shader to material|shadow|phonon by default on creation.
If you have completed last step in installation instruction.

CGTalk Moderation
07-09-2011, 08:03 AM
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.