Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Lighting & Rendering (https://simplymaya.com/forum/forumdisplay.php?f=17)
-   -   Alpha Shadows (https://simplymaya.com/forum/showthread.php?t=11134)

JimmyC 24-03-2004 08:23 PM

Alpha Shadows
 
I have a plane in a scene textured with a texture containing an alpha channel (its basically an object on the middle of the plane, with a fully transparent area around it). I was told that any shadows the plane projects will take the alpha channel into account, but as it is the whole plane is projecting a shadow.

Is there something I'm supposed to do to get a shadow only from the non transparent areas of the texture?

Alan 25-03-2004 09:25 AM

have you just got an alpha channel in your image or have you mapped it to the transparency channel? What I would do is get the texture's alpha channel and save it out to another file as a greyscale image. Then map that to the transparency texture channel. That will probably give yo ubetter results.

Let me know how you go.
Alan

fredriksson 25-03-2004 04:46 PM

Only raytracing works with alpha-maps so make sure your shadows are raytraced.

Darkware 25-03-2004 05:31 PM

hmmm I tried it out with raytraced shadows just to see, but it didn't work. Without them, all you have is a shadow of your plane. With them, I can get no shadow at all. hmmm.....

edit*** bah... I see what I did. I just turned on raytraced shadows in the light attributes without turning on raytracing in render globals. =P

JimmyC 25-03-2004 10:39 PM

Yeah i figured out that it only works with raytracing.

The problem is you can still see the outline of the plane in shadow. Ive read a tutorial that says you can fix this with shader networks (which I have no experience with). Is there any easier way?


All times are GMT. The time now is 10:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018