3
$\begingroup$

In the blender game engine, are there any ways to cast shadows aside from using a sun lamp or a spot lamp?

$\endgroup$
  • $\begingroup$ I would be really interested in this, it could be useful for the new BGMC project coming up. $\endgroup$ – VRM Dec 19 '15 at 0:01
  • $\begingroup$ You could bake your shadows as a texture on your objects, that way you don't need to use any lights at all. $\endgroup$ – christai Jan 2 '16 at 11:43
1
$\begingroup$

If you are talking about just the "normal" lamp types (Point, Sun, Spot, Hemi, and Area), then no. The Sun Lamp and Spot Lamp are the only two that cast real shadows in the BGE. (FYI the sun lamp has only been able to cast shadows since 2.64).

You can use lighting tricks, like a fake shadow texture on a plane. Or transparent planes with the light cast pattern and beams.
You could even bake the lighting to textures and then use all shadeless materials in game.

$\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.