Invisible object that can receive shadows

Hello,

Does anyone know a way on how to make an invisible material receive shadows?

I’m creating an 2D game with dynamic shadows & lights. The terrain is rendered with an other camera and doesn’t receive shadows from the other game objects in the world.

My idea was to put an invisible gameobject over the terrain (an Quad) and have it receive the shadows, but I’m unable to figure out how to do it.

Thanks,

i was looking around in unity a bit and the best i found was copying your bsckground meterial (assuming its one color) and pasting the meterial againg (like making a backup of the material) then change the standard bar to legacy shader/Self-Illumin/Bumped defuse so light wont receive on it and all u see is a shadow, I also found something that makes it look like a ghost xD. Hope this helped, and i took off auto correct when typing this so i hope there isnt too many mistakes.

Actually I found a bar that does this for you. its shown in the link below :smiley: Hope it helps. Feel free to give this answer a like :smiley: Screenshot - be3c4c2a80cdbc12d4691fd5ac86f954 - Gyazo

Did it help?