[DF-29] material LOD switching in progress. Code cleanup