Add material uniform check