PDA

View Full Version : can you tell a light source just to emit shadow!!


pigbelly
03-31-2003, 12:40 PM
In 3DstudoMax you can tell a light source just to emit shadow!!
This is great if you want to control the placement of your shadow!!
Can you do the same in Maya????

/Tommie

alexx
03-31-2003, 01:39 PM
not directly i think..

but you could fake that behaviour with 2 lights i guess.

make your light. duplicate it and group the duplicate under it..
make the top node light to have a certain brightness and cast shadow.
the grouped light has to have the negated intensity of the top one (do that either by hand or with an expression).

that should only cast a shadow without "lighting" the scene

cheers

alexx

webster
03-31-2003, 02:16 PM
Donīt have Maya here.
Ever tried to choose black light-color ?
or give it a negative intensity ?

Norb
03-31-2003, 02:41 PM
that's what he just said...

alexx
03-31-2003, 02:47 PM
not really what i just said:

a black light wont cast a shadow and a negative light only will change the lighting in the scene..

;)

cheers

alexx

swag
03-31-2003, 03:46 PM
there is a nice mel script i use for this
http://www.highend3d.com/maya/mel/?section=rendering#1828

tripNfall
04-01-2003, 04:24 AM
This should do it:

Make your light color Black, your intensity to negative 1, and make your shadow color White.

tNf

bambam
04-01-2003, 06:47 AM
alexx had it right you need to have two lights one 2 cast the shadow and another (the negative) to suck the light out
be careful if you have paintFx in your scene they don't like negative light values

CGTalk Moderation
01-14-2006, 06: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.