public void reloadMaterials() {
        if (mShouldReload) {
            for (String key : sMaterialsMap.keySet()) {
                MaterialWrapper material = sMaterialsMap.get(key);
                material.recreate();
            }
            mShouldReload = false;
        }
    }
This function goes through every material and reloads the material
android/viro_bridge/src/main/java/com/viromedia/bridge/module/MaterialManager.java