Khas Advanced Graphics (deferred lighting and procedurally generated fog)

@Kirika not yet. I'm studying to implement a better solution 🙂
Appears to be broken with the 1.6 update.
@Bicept : Works for me.
I haven't tried it yet with 1.6.0 but it's comforting that it seems to work for @Nicke . Although since @Bicept is having problem, a second opinon would be nice. 🙂
Version 3.2 of the lighting plugin works for me.
To clarify, I'm talking about the 1.6 update to RPG Maker, not the script itself. In both my game and the v4.0 demo file it errors at map load; "Cannot read property 'length' of undefined".

EDIT: (v4.2 does work though so I'll use that instead)
I get this

TypeError
Cannot read property 'blendModes' of undefined

When building a web version, I know Khas isn't scripting anymore, but wonder if anyone has a fix?

I'm using RPG maker MV 1.6.0 (From the Beta)

Around line 397-398 of the Ultra Lighting vrs. 4.2
Spoiler: Code Snip
this._renderer.state.blendModes[PIXI.BLEND_MODES.KHAS_LIGHT] = [gl.SRC_ALPHA, gl.ONE];
this._renderer.state.blendModes[PIXI.BLEND_MODES.KHAS_LIGHTING] = [gl.ZERO, gl.SRC_COLOR];
Hey Khas, commercial owner. Got a question.

I had your fog on for the first three maps in the games intro and worked as described. However, we have a level later on that uses Orange Overlay to create a sort of scrolling effect like the haunted woods in FF6, but since installing Orange Overlay, the scenes that we had your fog in have messed up and you cannot see some of the npc sprites.

They obviously work together since they actually do both work in the game, but for some reason the last 2 of the 3 scenes with your fog have become messed up. I'm wondering if you have heard of this before and if not, I guess I can give more info on what commands I have to see if it can be fixed.

_____________________


OMG!! Nevermind, this was a issue with the other plugin and it coming set with switches already on. Fixed. Thanks
Hi, i have a probelm with the lighting plugin. I'm using Qmovement, witch is a pixel movement plugin, every type of light works perfectly well but when i give lighting to the player moving makes the game crush. I wish there was a way to adapt these two great plugin and having them work togheter.
thanks in advance.
Screenshot (24).png

Original thread: https://forums.rpgmakerweb.com/threads/khas-advanced-graphics-deferred-lighting-and-procedurally-generated-fog.73911/