0
$\begingroup$

i want to have a toon effect on the objects and for the ground shadow i need a different lighting angle, otherwise i have too long shadows... i work for this in cycles render mode.

have one SUN at the moment, and it casts a hard shadow on the objects. how do i get the second SUN to just cast the ground shadow on the ground plate?

thanks in advance

$\endgroup$
4
  • 1
    $\begingroup$ Use different layers for each object and light. Then composite them together. $\endgroup$
    – user1853
    Commented Jan 14, 2018 at 21:55
  • $\begingroup$ that didn't work, because i have only 1 object on top a ground surface and 2x sun. 1st sun should create shadow on the object 2nd sun should create only the ground shadow $\endgroup$
    – jbdesign
    Commented Jan 14, 2018 at 22:47
  • $\begingroup$ blender.stackexchange.com/questions/46911/… $\endgroup$
    – user1853
    Commented Jan 14, 2018 at 22:55
  • $\begingroup$ blender.stackexchange.com/questions/3095/shadowless-render-pass/… $\endgroup$
    – user1853
    Commented Jan 14, 2018 at 22:56

1 Answer 1

1
$\begingroup$

This is doable with layers and render layers as cegaton suggests. Here is one way to set it up.

Put all your objects (except ground and lamps) on layer A. Put the ground on layer B. Put the "object shadow lamp" on layer C. Put the "ground shadow lamp" on layer D.

Set up your render layers as follows: Render layer one (objects and object shadows): include layer A (objects) and layer C (object shadow lamp). Exclude layers B and D.

Render layer two (ground and ground shadows): include layer B (ground) and layer D (ground shadow lamp). Exclude layer C. (Do not exclude the objects on layer A, you still want them to cast shadows.)

Don't forget to check "Transparent" under the Film tab in the render settings. You can handle your background/environment in another render layer, with no objects and an Environment pass.

Then composite the two layers with an "Alpha over" node.

Objects and object shadows:

Objects and object shadows

Ground and ground shadows:

Ground and ground shadows

Composite:

Composite

Composite with environment:

Composite with environment

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .