|
|
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Does this help?
>
> http://www.econym.demon.co.uk/shadowtut/
>
> --
> Mike Williams
> Gentleman of Leisure
Thanks! That helps. I can see how it might work when using parallel lights, but
I'm not convinced of the accuracy when using other types of lights, especially
when you're fiddling with them in the "first pass".
-Mike
Post a reply to this message
|
|
|
|
"SharkD" <nomail@nomail> wrote:
> Mike Williams <nos### [at] econymdemoncouk> wrote:
> > Does this help?
> >
> > http://www.econym.demon.co.uk/shadowtut/
> >
> > --
> > Mike Williams
> > Gentleman of Leisure
>
> Thanks! That helps. I can see how it might work when using parallel lights, but
> I'm not convinced of the accuracy when using other types of lights, especially
> when you're fiddling with them in the "first pass".
>
> -Mike
I had a quick glance at the tutorial; it will work with any type of lighting,
even exotic stuff, multiple light sources, and what-have-you.
It will run into real problems though if the shadows extend far into the
distance. You'd need to render an awfully high resolution image in the first
pass then.
I guess a better approach would be to shoot the first pass from the final camera
perspective as well (but otherwise as described); then, in the second pass,
don't bother about the result of the first one, but simply make the whole plane
transparent and render it with alpha channel output. Merge the two shots
together with your favourite image processing software, using the first shot as
a transparency mask for an all-black background layer, and place the second shot
in another layer on top of it.
Note that this approach also has the benefit of not being limited to shadows
cast onto flat planes.
Post a reply to this message
|
|