Cycles - Hard Shadow Question

Hi,
I would like to ask you, how can I get hard shadow effect like in example below.
What kind of light should I use and how to render this?


You can use a sun lamp with a very small size


Many thanks for reply, it works!
But what should I do to manipulate shadow color? Now shadow’s color is similar to object which gives shadow.

Hi timmek,


In the image you posted the shadow seems greenish not because of the object, but because of the floor color, which is also green. Since shadows are not 100% opaque they get tinted with the color of the object on which they are being projected.
Here’s an example:


On the other hand, if you want to manipulate the color of the shadow manually use the node setup @Dito shared.

@@Dito
@@julperado
Thanks guys, it’s clear for me.
I have never used Light Path node but I ll try it :wink: