Remove dependency to LightAndShadowResources

To make it usable by other modules than LightAndShadowResources.