Casting Shadows

Lanz's icon

I have some jit.phys.body spheres bouncing around. is there any 'easy' way to make them cast shadows onto other bodies or walls in the world?

Any help in this area would be appreciated. Ive read the older posts but i can't find the solution,
Best, L

MJ's icon

opengl does not do shadows . you can do it with shadow mapping .... sort of.
read -> http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-16-shadow-mapping/