- Home /
How to make my character's shadow circle only?
Hello :) I want my character to have a circular shadow below him, can someone help me? I'm working on android. Thank you very much in advance ^^
Answer by ShadoX · May 11, 2016 at 10:01 AM
Try having a look at http://docs.unity3d.com/Manual/class-Projector.html
Thank you :) ever tried this? Because I'm building for android, you know, performance issues. And one more thing, my character doesn't project shadow because i think it's too small. Do you know what would be the best size for my character? Thank you :D
Have you even tried opening this link? It's broken.
Answer by YoungDeveloper · May 11, 2016 at 10:03 AM
Most optimized solution would be using tranparent texture - fake shadow blob, which as a transform is childed under character legs.
Thank you :) but I'm currently using this. But it follows me on air, but i don't have an idea on how to stick it to the ground, and rotate according to the ground's inclination.
How about raycasting down from shadow? That way you can get hit point, and if character jumps distance will get larger, then you can increase texture transparency to simulate effect for shadow blurring out.
Thanks :D But raycasting is a bit expensive for android right? But I will try this out. Thanks again.
Your answer
Follow this Question
Related Questions
Memory Managmenet 1 Answer
What is most efficient way to render output of multiple cameras 1 Answer
s-pen GUIUtility.BeginGUI performance problems 0 Answers
Number of vertices for android 0 Answers
UWP vs APK on Raspberry Pi3 0 Answers