[DF-2992] particles are rendered correctly now. Shadows are rendered correctly now. Material pass state subclassing works.