What is the easiest way to add shadows to a 3d Object?
I have objects information(vertices, texCoordinates, normals, indices) stored in arrays.
There are some frameworks like isgl3d for iOS that allow users to load 3d .obj files and add shadows, but they adds a lot of unuseful stuff and aren't multiplatform(iOS + android)
What would be the easiest way to add shadow to a 3d object?
Could you show/link to a working example(iOS/Android)?