View Full Version : Shadow creation without light
jedijrmax 10-09-2006, 03:55 AM Hey everyone,
Hope that this is the appropriate place to post this.
I use Maya, and I was wondering if there is anyway to create a light in the program, have it create shadows, but not actually illuminate anything? I just need to create a "fake" shadow for something but I don't want the object to be lit by that light.
Thanks in advance!
~Jeff
|
|
Benken
10-09-2006, 09:26 AM
Why dont you render out a Shadowpass and then ad the object (with a nother light setting) in Photoshop....If you understod my bad english :)
ThirdEye
10-09-2006, 11:19 AM
In C4D we have a "shadow caster" checkbox that does exactly what you need to do. Maybe there's an equivalent in Maya? :shrug:
CaptainObvious
10-09-2006, 12:12 PM
If Maya allows for lights with negative intensity, you can do it the following way:
Create a light with negative intensity and disable shadow casting for it.
Duplicate the light, and flip the intensity to a positive value, and enable shadow castic.
The negative light will make the scene darker everywhere. The positive light will bring it back up to the previous brightness everywhere except where the shadow falls, so now you'll have a dark shadow and the rest of the scene will look like before.
Turn off specular highlights for both lights, too! And lens flares etc should obviously not be used either.
tedious
10-10-2006, 01:44 AM
In Maya, you don't need to use the "two lights" trick (although that way works too...)
To make a Maya light cast shadows only, just set its color to black (so it doesn't brighten anything) and set the shadow color to a -1 value (so it darkens where the shadow is cast.)
Tedious
JacobCarmona
10-10-2006, 08:47 AM
Tedious that single technique works only with raycast shadows not with raytracing shadows. :sad:
neuromancer1978
10-10-2006, 08:54 AM
Its been a few weeks since I booted up Maya - but isn't there two Emit checkboxes - one for Diffuse and another for Specular? Turn them both off and the only result is a shadow?? I could be wrong, but I think that would work?
CaptainObvious
10-10-2006, 11:01 AM
Its been a few weeks since I booted up Maya - but isn't there two Emit checkboxes - one for Diffuse and another for Specular? Turn them both off and the only result is a shadow?? I could be wrong, but I think that would work?
That won't work, because a shadow is just a lack of light. If a light doesn't make anything brighter, it won't make the shadows darker. You'll have to trick the renderer, basically. Lights that just cast shadows without illuminating anything are not physically accurate worth a damn.
jeremybirn
10-14-2006, 11:17 AM
To make a Maya light cast shadows only, just set its color to black (so it doesn't brighten anything) and set the shadow color to a -1 value (so it darkens where the shadow is cast.)
Yep, that's the simplest way to do it in Maya. It works with dmap and raytraced shadows, too.
-jeremy
gerardo
10-22-2006, 07:31 AM
Yes, the trick that use one black light with negative shadows works in most 3D apps. Depending on your scene you may want to try also to fake shadows with some occlusion shader (ctrl.occlusion maybe?). In most 3D apps this is commonly quicker than raytraced soft shadows.
Gerardo
ChrisSosa
10-24-2006, 02:05 AM
I think if you apply a use background shader on all your ellemnts that will be receiving the shodows in your scene + the positive and negative light source you should be able to render out just the shodows in your scene. I work at a studio that uses the same technique. Though I think I might be missing a few steps.
CGTalk Moderation
10-24-2006, 02:05 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.