PDA

View Full Version : Light Inside Wax type thing??


og_borat
07-26-2010, 08:37 AM
Hi Guys

I'm starting to pull my hair out,

I'm trying to make a light inside a object, but so that it looks like its lite up then slowly fading out to get a soft glow inside, So i was thinking sub surface scattering would work, but I can't put a light inside, only seems to work when its behind and thats not giving me the effect I'm after?

Can anyone give me some hints on how you would go about creating this effect?

sentry66
07-26-2010, 08:57 AM
Maybe try modeling the wax type object with a hole cut out from the center (a space for where the light in the real world would go) and then use a SSS shader

make sure the normals of that hole are facing inward

berniebernie
07-26-2010, 10:05 AM
don't dismiss the translusence property of software shaders. It's a little tricky to obtain what your want (as with anything in maya) especially the sampling for shadows, but it might do the trick, no sss involved:

http://mlkdesign.online.fr/dump/shape_translu.jpg

Just 2 quadratic point lights with raytraced shadows and a translucent phong

epq
07-26-2010, 02:05 PM
You might want to check out the scatter attribute, also found on the maya standard shaders (under the mental ray section).

Did a simple test with a few lights inside a mesh with a blinn shader
http://labs.ravenproduktion.se/images/statueScatter.jpg

/eric

og_borat
07-27-2010, 05:48 AM
Thanks guys!

Those examples are great, and yeah I went down that path and it worked out, don't know why I didn't try that in the 1st place.

Thanks a lot for your help!

CGTalk Moderation
07-27-2010, 05:48 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.