3
$\begingroup$

Say I wanted to make a render of a ghost. The ghost must be invisible to the camera, but it must still cast a shadow on the ground. How can I block light from passing though an object that is invisible?

Stock photo for example.

$\endgroup$
3
$\begingroup$

If you are using cycles you just have to disable camera visibility.

enter image description here

enter image description here

Alternatively you can make a shader that uses the camera ray as a mix factor for your figure's shader and a transparent one. The camera will not see the object but it will still cast a shadow.

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.