Jump to content

shadow mask bug


bwcc
 Share

Recommended Posts

I have a simple scene to illustrate the error - a few objects casting shadows on a floor object. when rendered normally it looks great.

 

I often render the shadow separately to build a composite in PhotoShop. I set all the the shadowing casting objects to "shadow object only" and the floor to "generate shadow mask" the alpha of that file will be the shadow.

 

when rendered, the alpha mask shows the shadow but also has a visible edge where the "outer cone" hits the floor object.

 

trying to upload the file but I get the error "Error This upload failed"

 

thanks,

brian

Link to comment
Share on other sites

Ola Brian,

 

Spot lights have a outer cone, it limit the shadows and become more clear here with RT. soft shadows activated.

Buffer Shadows and RT shadows without soft shadow doesnt have this problem, since you have a clean shadow of the object.

 

RT Shadows with soft shadows spread all the shadow in the surfaces, so, you dont have a clean difference between black and white, I attached another project here with default outer cone (45.0) and one light with Soft shadow angle of 10.0 instead of 60.0, take a look, do a render, the outer cone doesnt appear now, Why? when you use a value of 60.0, the shadow is all over the place making the black areas grey and appear limited by the outer cone, simple.

If you want to use 60.0 without a bigger outer code, you need only to go to AE or Photoshop and use Levels to crop the small grey values.

 

Now, you can believe this is the way it works.

 

Thanks

 

Tom

 

Project 9 sbTOM.zip

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...