Env_color is now central, no more lightpos caching, added shadowlayers