improved layer LOD computation to use attribute instead of baked-in camera component