|
![](/i/fill.gif) |
clipka <ano### [at] anonymous org> wrote:
> Am 25.06.2014 17:17, schrieb posfan12:
> > I'm rendering an orthographic scene for a video game. I would like there to be
> > separate object and shadow layers. I.e. one image for all the objects in the
> > scene, minus shadows, and another image with shadows only. What is the best way
> > of going about doing this?
>
> Hmm... I'm thinking that there must be /some/ way to render to an image
> with alpha channel and get nearly-opaque shadows being cast on an
> otherwise transparent plane.
>
> Let me know if that would help, and I'll come up with some way to do it. (*)
>
> Other than that, as Jerome already mentioned, the "no_shadow" and
> "no_image" keywords are probably your big fat friends.
>
>
> (* Heck, I'm sure it can be done by making smart use of what POV-Ray
> already provides, but it seems such a straightforward use case that
> POV-Ray should really provide an equally straightforward way of doing it.)
In GIMP I can convert the grayscale image to an alpha channel, and then apply
the alpha channel to a 100% black image.
If there's some internal POV-Ray trick that would be better.
Mike
Post a reply to this message
|
![](/i/fill.gif) |