I have an image which has been added by Images as a plane. Now if I create a cube above the plane I want the shadow of the cube to be visible on the texture. How to do this?
Update: this is my plane in nodes view now:
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityI have an image which has been added by Images as a plane. Now if I create a cube above the plane I want the shadow of the cube to be visible on the texture. How to do this?
Update: this is my plane in nodes view now:
There are two solutions. Option 1 is easier and better.
When importing the the image, make sure that you have Diffuse selected under Material Settings on the left side.
I have searched far and wide for a solution to test for a shadow so that one can use the Emission setting with some extra nodes, but eventually concluded that it cannot be done. The final word came from gandalf3's answer here. You can, however, do a workaround through RenderLayers, if you so desire.
Final result:
Nodes:
What I have setup are two RenderLayers. One with the cube and image (Scene), and one with a plane with identical dimensions to the image with a plain Diffuse BSDF material (Shadow). I also enabled Transparent under Properties panel > Render tab > Film drop down.
This is the .blend file: