Enables (or disables) the connectionState for all Materials in the currently loaded scene. This causes the materials' connections to be ignored in the render pipeline; all surfaces will render their neutral gray.
Call this function using an on or off argument; e.g.
// Disable all connectionStates enableMaterials off;
How can I Prelight a polymesh without having its material/texture influence the resulting vertex colouring?