Hi Lee,

Many thanks for your idea.  Yes I am familiar with the compositing approach, 
just wanted a cleaner option if possible.

I am glad to say Vesa came to the rescue and suggested I check out this 
tutorial.  

tutorprojects/material/vsl/matteshadows.r3d example

It worked a treat if anyone else needs it.

All the best,

Jason

-----Original Message-----
From: User-list <[email protected]> On Behalf Of leee
Sent: Thursday, May 30, 2019 9:13 PM
To: [email protected]
Subject: Re: [User-list] Shadow on illumination shaders?

On Thursday 30 May 2019 14:34:33 Jason Saunders wrote:
> Hi everyone,
>
> Long time no chat, but hope everyone is well.
>
> Just wondering is anyone remembers if or how it is possible to cast 
> shadows onto an illumination shader please?
>
> For example,
>
> 1.    I have a shader with a texture/photo set to output illumination
> instead of colour, so the original photo remains unchanged with scene
> lighting. 2.  I’ve applied the phot/illumination shader to a plane
> rectangle. 3. I now want to stand an object in front of the photo
> (illumination) shaded rectangle and have that object cast a shadow 
> onto the photo.
>
> Does anyone have a tip for this please as by definition the 
> illumination shader will not receive shadows normally?
>
> Many thanks,
>
> Jason

I don't think that you can do this just within R3D.

The way I'd go about it would be to do two renders: first render the full 
image, at the desired quality, including the photo-lightsource, and then do a 
low-quality box-render of the shadowed area of the photograph, but with the 
photograph area (and its illumination) replaced with plain white, so that 
you're just rendering the shadow on a plain white area.

Outside of R3D, use the box render as a guide in your IMP of choice to create a 
black (0, 0, 0 RGB) patch which you can then composite over your quality 
render, adjusting the alpha of the patch layer to get the shadow density you 
want.

I think that would work.

LeeE

_______________________________________________
User-list mailing list
[email protected]
http://realsoft.com/mailman/listinfo/user-list_realsoft.com


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


_______________________________________________
User-list mailing list
[email protected]
http://realsoft.com/mailman/listinfo/user-list_realsoft.com

Reply via email to