Hey Bblizzard, speaking of that console screenshot, I also get that red message about "Khas is not defined", it's probably because I don't have Khas lighting (and nobody should have it tbh, it's asking for troubles on the GPU side of things, going as far as crashing games on start), is it safe to delete that compatibility part in your code so hopefully that message would go away?
I see you've made a compatibility fix for the TERRAX lighting plugin, and the new "community lighting" plugin (some kind of "Terrax Remaster" project) initiated by @ImaginaryVillain is implementing that fix by default, but I had to disable it (revert) because despite the fix placing the lights at the right coordinates in the 3D space (instead of the shift we get, the further away our MC moves from them) I'm afraid it occasionally brings a visual glitch.
Looks like the "dark mask" (to then create the lights) is disappearing at some random Y coordinates of the map, it's easier to spot with a pixel movement plugin (so you can position your MC exactly where it happens), looks like some kind of weird "Z priority conflict" thing (not even sure it's the problem but it feels similar), the best way to see it is to put a red light at the bottom of a big map and then move near the top, if everything goes "right" you should see the screen flashing bright red at some point.
Deactivating your fix (the few lines of code to replace in TERRAX, or now the community plugin that you can find here: https://forums.rpgmakerweb.com/index.php?threads/community-lighting-mv-mz-experimental.124274/ if you want to give them a new fix) will get rid of that problem, but of course the misalignment of the lights will be back.
It's a "pick your poison" kind of situation but I guess the misalignment poison is preferable here, of course if we could have the right alignment without the glitch, that would be perfect. These people are doing a great job with the Terrax plugin by the way, cleaning the original code to help with performances. 🙂
I see you've made a compatibility fix for the TERRAX lighting plugin, and the new "community lighting" plugin (some kind of "Terrax Remaster" project) initiated by @ImaginaryVillain is implementing that fix by default, but I had to disable it (revert) because despite the fix placing the lights at the right coordinates in the 3D space (instead of the shift we get, the further away our MC moves from them) I'm afraid it occasionally brings a visual glitch.
Looks like the "dark mask" (to then create the lights) is disappearing at some random Y coordinates of the map, it's easier to spot with a pixel movement plugin (so you can position your MC exactly where it happens), looks like some kind of weird "Z priority conflict" thing (not even sure it's the problem but it feels similar), the best way to see it is to put a red light at the bottom of a big map and then move near the top, if everything goes "right" you should see the screen flashing bright red at some point.
Deactivating your fix (the few lines of code to replace in TERRAX, or now the community plugin that you can find here: https://forums.rpgmakerweb.com/index.php?threads/community-lighting-mv-mz-experimental.124274/ if you want to give them a new fix) will get rid of that problem, but of course the misalignment of the lights will be back.
It's a "pick your poison" kind of situation but I guess the misalignment poison is preferable here, of course if we could have the right alignment without the glitch, that would be perfect. These people are doing a great job with the Terrax plugin by the way, cleaning the original code to help with performances. 🙂




