public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

The Khas Lighting layer issue.

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: The Khas Lighting layer issue.
  • Original author: Veno
  • Original date: September 15, 2019
  • Source thread: https://forums.rpgmakerweb.com/threads/the-khas-lighting-layer-issue.113324/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

The Plugin In Question Khas Lighting (More information on it's use: The Issue

Archived First Post

The Plugin In Question
Khas Lighting
https://forums.rpgmakerweb.com/inde...-v4-2-ultra-now-with-real-time-shadows.77679/
(More information on it's use:
http://arcthunder.blogspot.com/p/tutorial-advanced-lighting.html)



The Issue
The light plugin creates a new layer of lights that shows over the map.
The issue is that the light layer loads before the map loads,
causing this to happen on map transfers and when loading the game.
(The following happens for only one split second, but long enough to be noticible and bothersome to players, though not affecting gameplay.)

lightissue.png




The Partial Solution
I originally had paid a coder on discord for a fix, and he was able to really make some headway. He performed the following (see photo below), to have the "lights" layer be visible after the map change was complete. This is mostly successful, and eliminates it most of the time now, but not all the time, especially when loading into a bigger map (or heavy lighting area) Or after loading a game very recently..

The fix I paid for that helps:

lightfail.png

The person I paid for this fix, told me this about the line he had me remove:
"The coverLightSprite was what [khas] was going to make but didn't. I was doing that at first with a cover canvas but pasting a snapshot of the map before the glitch was too slow I think anyhow. As I was looking for the spot to turn of the cover, I noticed that rendering of lightMap and decided to just set it invisible until it was done."

Again, this is like a 90% fix, as it really made headyway towards solving the issue, but has not eliminated it entirely.


Final Thoughts/Notes
Also, others experience this issue too, and for reference is not related to other plugin incompatibilities, simply a timing issue on what is loading when. I've been struggling for a while to find a way to get the light layer to load last.
Also, on https://forums.rpgmakerweb.com/inde...ltra-now-with-real-time-shadows.77679/page-17 you can see another screenshot example from another who posted this issue.

Thank you in advance of anyone willing to help tackle this very frustrating issue.


Edit: Demo of Issue (Demo made in mv1.5.1)
Simply load the only save file in the demo, and you should see the issue for a split second flash on your screen.
http://venogames.com/public/lightissuedemo.zip [12MB]

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

lightissue.png
lightissue.png
lightfail.png
lightfail.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#js-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar