spheres correct with shadows. triangles almost correct with shadows.

small part of triangle shadows not working. looks like it is in the triangle shadow intersect function, but not positive