Dynamic lights have no collision detection in DirectX. You will have to use a shadow mapping technic (a shader) like PSSM for that.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version