bindpicture to map and Terrax lighting

Has anyone on here managed to get these 2 plugins working together?  I've tried changing the order on my plugin list. Still have issues.


The problem is that the Terrax lighting completely messes up the layers in which my pictures are binded to.
In the JS file (BindPicturesToMap), insert this line :


this.createLightmask();


below this line :

Code:
Spriteset_Map.prototype.createLowerLayer
I've made sure both plugins were up to date and added this to the bindmap plugin:


if (Imported.TerraxLighting) { // Add these 3 lines
this.createLightmask(); // And make sure TerraxLighting
} // is above TDDP in the plugin-list.


and it looks like it's working, only when terrax plugin is above the bind map plugin.


Thanks

Original thread: https://forums.rpgmakerweb.com/threads/bindpicture-to-map-and-terrax-lighting.65889/