Jump to content

Matching shadow color to photo backplate using shadowmatte / AOVs?


Recommended Posts

Hi there,

 

I am trying to integrate a simple box into a photograph that I found on the web. The idea was to just experiment with matching lighting and shadows. In my scene, I have created a grid for the ground, and roughly lined it up with the objects in the photopgraph. I then placed a box on top of the grid and used a distant light, and an environment light to light the scene.

 

I applied a shadowmatte to the ground plane to catch any shadows occurring on it which has given me a nice alpha channel in which to composite shadows.

 

post-12039-0-42150800-1418465964_thumb.j

 

post-12039-0-82647100-1418466827.jpg

 

My problem is that in the scene, the dog is casting shadows with a slight blue tint to it. I would like to match my box shadow color to the dog's shadow color. I understand that I can apply a color to the environment light to match the color temperature of the photograph, thus matching the shadow colors too, but obviously this won't work with the shadowmatte as it contains no color information.

Obviously if I were casting shadows on a mantrasurface or similar diffuse surface I would get the proper colors of the shadows, however I would like to achieve this effect using the photographic backplate.

 

post-12039-0-74768800-1418465960_thumb.j

 

post-12039-0-55144300-1418466825.jpg

 

Is there any way of achieving this with shadowmatte or AOVs, inside Houdini? Or does this need to be faked in compositing? What would be the best approach to this simple object integration?

 

Any help would be really appreciated!

 

W.

shadow_test_04.hipnc

Edited by chibley
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.
Note: Your post will require moderator approval before it will be visible.

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.

×
×
  • Create New...