NEWSLETTER | SIGN UP NOW TO GET PROMO CODE NEWSLETTER | SIGN UP NOW AND GET $5 OFF $50 PURCHASE OR MORE

Blog posts & pages

View all results (0)
Tutorial: Create blob shadow in Unity game engine

Hi there! 

In this tutorial, we are going to share how to create a blob shadow in Unity game engine. Blob shadow is very common in toon style game, especially mobile games. Replacing cast shadow to blob shadow helps to increase the game performance because blob shadow is not as heavy as cast shadow. 

To create a blob shadow, we need to use projector in Unity. A Projector allows you to project a Material onto all objects that intersect its frustum. The material must use a special type of shader for the projection effect to work correctly. 

Step by step instruction to create blob shadow

  1. Open a new scene
  2. In this tutorial, we are going to use Toon Bat as example. You can buy Toon Bat here.
  3. Drag Toon Bat prefab from Prefabs folder to the scene.
  4. Create a 3D plane and set position to 0,0,0. 
  5. Create an empty game object. Rename it as Blob Shadow.
  6. Add projector to the Blob Shadow
  7. Assign the texture to projector.
  8. Rotate the Blob Shadow so that it's facing the ground. 
  9. Parent it under Toon Bat. 
  10. Hit play button! 

Leave a comment