- Home /
See Shadow but not GameObject
Hello Everybody :D I would like to know how to make that the user can see a gameobject's shadow, but not the GameObject mesh renderer. Thanks :D
Answer by $$anonymous$$ · May 09, 2015 at 07:09 PM
Mesh renderers have the option built in. Check out this image:
The official Unity documentation has this to say on 'Cast Shadows':
If enabled, the mesh will create shadows when a shadow-casting Light shines on it. The options are On and Off to enable/disable shadows, Two Sided to allow shadows to be cast from either side of the mesh (ie, backface culling is not taken into account) and Shadows Only (ie, the shadows should be visible but not the mesh itself).
Your answer
![](https://koobas.hobune.stream/wayback/20220613195143im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
What can cause shadow slicing while moving camera? 1 Answer
What is causing the Abs(dist - shadowRadius ) error? 1 Answer
How to get Directional Light Shadows to render through an Orthographic Camera? 1 Answer
Shadows from culled objects 0 Answers
How to make camera position relative to a specific target. 1 Answer