the lighting don'T have to do anything with real shadows

in the shader the darkness is just calculated by 2 angles, the one from the sun and the one from the normals, so bigger the diffrence so darker is the pixel that is drawn

the entities don'T affect each other, for such a effect u have to use shadowmapping, but this in in gs only possible with plugins as example sphere