Gamasutra: The Art & Business of Making Gamesspacer
Fake/Accurate shadows in Unity for mobiles
Printer-Friendly VersionPrinter-Friendly Version
View All     RSS
April 23, 2014
arrowPress Releases
April 23, 2014
PR Newswire
View All

If you enjoy reading this site, you might also want to check out these UBM TechWeb sites:

Fake/Accurate shadows in Unity for mobiles
by Muhammad Helmy on 12/11/13 04:58:00 pm

The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community.
The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company.


After reading an article here in Gamasutra, I found it might be usefull for some one to save some of his game performance in case he needs.

Faking a shadow in game engines is not a new topic. But the way itself you use to fake the shadow might be the new topic. As the tutorial is a video tutorial, here listed a quick summary about the method:

1- Pick a piece of animation.
2- Render/draw it from top view as *.png sequence.
3- Build a sprite atlas in your editor.
4- Build a 2d animated sequence for each animation loop.
5- Adjust the shadow transparency, color,.....etc.
6- Add it to the character/object hierarchy.
7- Change the active animated shadow state according to the character current animation state,via code "not in the video".



Related Jobs

Gameloft Toronto
Gameloft Toronto — Toronto, Ontario, Canada

Technical Artist
Muti Labs
Muti Labs — Santa Monica, California, United States

Senior Game Engineer
Digital Extremes
Digital Extremes — London, Ontario, Canada

Square Enix Co., Ltd.
Square Enix Co., Ltd. — Tokyo, Japan