# Invisible object that can cast shadows

**URL:** <https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178>\
**Category:** Game Engine Support and Discussion\
**Created:** [November 29, 2012, 11:43am UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178 "2012-11-29T11:43:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![socker](https://blenderartists.org/user_avatar/blenderartists.org/socker/32/10680_2.png) [@socker](https://blenderartists.org/u/socker)\
**Post date:** [November 29, 2012, 11:43am UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/1 "2012-11-29T11:43:17Z")

</div>

Hi there, my question is this: How can i make an invisible object begin able to cast shadows?  
I’m actually working on a FPS where the player will be able to see his/her legs, but i need the main model (Wich will be invisible) cast the shadow, even if it’s invisible.  
Thanks 🙂  
-Socker

---

<div class="post-metadata">

**Author:** ![sdfgeoff](https://blenderartists.org/user_avatar/blenderartists.org/sdfgeoff/32/15010_2.png) [@sdfgeoff](https://blenderartists.org/u/sdfgeoff)\
**Post date:** [November 29, 2012, 2:49pm UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/2 "2012-11-29T14:49:17Z")

</div>

There are some materials settings for that, but I don’t know if they work in game.  
In particular, a check box called ‘cast only’ under shadows.

---

<div class="post-metadata">

**Author:** ![SolarLune](https://blenderartists.org/user_avatar/blenderartists.org/solarlune/32/7258_2.png) [@SolarLune](https://blenderartists.org/u/SolarLune)\
**Post date:** [November 29, 2012, 3:02pm UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/3 "2012-11-29T15:02:55Z")

</div>

I believe you can set the mesh to Clip Alpha and set the transparency to 0. That should make it invisible, but cast shadows.

EDIT: And I think those shadow casting options work, but not for invisible or partially transparent objects.

EDIT 2: Never mind, it would seem that Clip Alpha with transparency set to 0 doesn’t make for shadows.

---

<div class="post-metadata">

**Author:** ![mokazon](https://blenderartists.org/user_avatar/blenderartists.org/mokazon/32/9329_2.png) [@mokazon](https://blenderartists.org/u/mokazon)\
**Post date:** [November 29, 2012, 3:50pm UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/4 "2012-11-29T15:50:03Z")

</div>

I kind of doubt you can currently do this in BGE. would require a simple patch to fix that probably though.

---

<div class="post-metadata">

**Author:** ![socker](https://blenderartists.org/user_avatar/blenderartists.org/socker/32/10680_2.png) [@socker](https://blenderartists.org/u/socker)\
**Post date:** [November 29, 2012, 4:07pm UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/5 "2012-11-29T16:07:58Z")

</div>

> [@mokazon](#):
>
> I kind of doubt you can currently do this in BGE. would require a simple patch to fix that probably though.

Yeah, just noticed that. Anyway, this adds to my huge wishlist of features that i want in the BGE ☹

---

<div class="post-metadata">

**Author:** ![Dakantra](https://blenderartists.org/user_avatar/blenderartists.org/dakantra/32/22259_2.png) [@Dakantra](https://blenderartists.org/u/Dakantra)\
**Post date:** [December 1, 2012, 8:13am UTC](https://blenderartists.org/t/invisible-object-that-can-cast-shadows/558178/6 "2012-12-01T08:13:04Z")

</div>

> I believe you can set the mesh to Clip Alpha and set the transparency to 0. That should make it invisible, but cast shadows.  
> EDIT: And I think those shadow casting options work, but not for invisible or partially transparent objects.
> 
> EDIT 2: Never mind, it would seem that Clip Alpha with transparency set to 0 doesn’t make for shadows.

Perhaps setting the transparency to 0.001 or another low value would work? :eyebrowlift2:
