Shora Lighting & Shadow System (RPG Maker MV/MZ Plugin)
A downloadable Plugin
Shora Lighting & Shadow System
―――――――――――――――――――――
Version: 1.9.7
―――――――――――――――――――――
Introduction
The latest, most up-to-date lighting plugin for RPG Maker MV/MZ! Easy to use, and packed with tons of advanced features for your needs. Completely free to use for non-commercial projects!
Features
- Create different lighting types using custom light images, with different defaults parameters easily from Plugin Manager.
- Deploy your lighting in events and items, automatically using comment/note, with the ability to override the default setting on demand.
- Tons of plugin commands for both MV and MZ versions to change each light's parameters, in desired tick(s) and transition.
- Light comes with real-time shadows (optionally). With 2.5D soft shadows casted, your game can be enhanced a lot nicer. Makes the shadow caster detection happen automatically using terrain tags, or using region IDs.
- Light comes with animations (optionally). Including automatic pulse animation and flicker animation. Easily create your own light animation using plugin command and/or scripts.
- Both lights and shadows are deeply optimized for RPG Maker MV/MZ, specifically the PIXI.JS library. Just integrate the plugin into your game without worrying about performance.
- Always there to help you if you’ve encountered any problems, and open to any suggestions!
For tutorial on how to use the plugin, please head over to the forums post.
Download
Click download now to get access to the following files:
Exclusive content
Support this Plugin at or above a special price point to receive something exclusive.
Commercial Licenses + Supporter
Let you freely use the plugin in your commercial games, and have a supporter role! Supporter will be priority to suggestion, reporting, and future update!
Development log
- Version 1.9.7 released.70 days ago
- Version 1.9.5 released.Feb 28, 2024
- 1.9.2 / 1.8.5 minor update.Oct 19, 2023
- Version 1.9.1 Released.Jun 06, 2023
- Version 1.9 Released.Jun 03, 2023
- PLEASE UPDATE TO 1.8.3 IF YOU'RE USING 1.8.2Feb 14, 2022
- Version 1.7 + 1.8 Released: Major performance and flexibility breakthroughFeb 07, 2022
- Version 1.6 released.Jan 27, 2022
Comments
Log in with itch.io to leave a comment.
How can i make the light follow the player? Light a flashlight
ok im having some issue and have yet to find a solution. first is when the plugin it make my entire game dark even if the "set map ambient" command is used. also when i use a light command on an object it always says " could not find light named "x" " thow i am using a light in the lights folder with that name. also have not gotten shadows to work either.
i love the plugin concept but im stuggleing to get it to work correctly. i also have no other plugins other then diagnal walking installed
ok im having some issue and have yet to find a solution. first is when the plugin it make my entire game dark even if the "set map ambient" command is used. also when i use a light command on an object it always says " could not find light named "x" " thow i am using a light in the lights folder with that name. also have not gotten shadows to work either.
i love the plugin concept but im stuggleing to get it to work correctly. i also have no other plugins other then diagnal walking installed
it's nice plugin for good effect and lightweight
and 1.95 in mzSample is different from itch.io's -ShoraLighting-.js
-r would fail from itch.io's -ShoraLighting-.js
I can confirm my own experience with this: the direct Itch file for the plugin has several problems related to adjusting light properties (size, angle, etc.) as well as broken light animations (i.e lights not flickering when they should flicker).
Using the plugin file directly from the demo project fixes this.
Hello! I was wondering if there is a function within the plugin or if the ability to temporarily disable it could be integrated in the future. I think it would be good for some areas because I see that it doesn't quite fit with the parallax mapping despite the configurations. :D
Hello there!
I love the plugin, i have been using it on a small game of mine for a while in the version [1.9.4], I recently upgraded into [1.9.5], I love the terrain tags shadow detection and at it works well so far.
However I had some issues and I don't know if it's from my end.
The radius command in comments no longer works for me [-r] in events, even if i put it on the plugin settings in a custom lights it either doesn't work or it increases the radius but switches into a default light.
Another issue was with battle lighting during battles, before the battlebacks weren't affected but now the new version also obscures the battlebacks and sideview actors. I noticed a message on the top right saying "couldn't remove light0".
Could it have been an issue while updating?
Thanks and sorry for the long text
Hi, i'm going through many lighting plugins to find one best suited for optimization and customization.
Namely, i'm looking for a lighting plugin that can support many lights on large maps, including the ability to support vehicle lighting- however I am noticing in the demo there is no function for terrain tags and I wish to find out what the story is behind it because it's mentioned as a function on this page.
-Skurge
It's available in the newest version of the plugin, but the demo still uses region IDs rather than the terrain tags from what I last remember. By default, the terrain tags for walls are 1 and wall tops/caps are 2.
If you want a great plugin that's customizable, you're in the right spot for it. Shora's is the only one I've meddled with that functions like Khas's light scripts/plugins.
One thing I didn't find is if there is a way to configure the colours of the terrain tag lights, do you know how to?
Do you mean the shadows? There are no terrain tag lights, only terrain tag shadows. If you want to change the shadow ambient color, it would be in map defaults.
For changing light colors however, you would want to either modify an existing light, or duplicate one within the custom light setting. In your given light's settings, you can change either the tint or the color filter to change the light color.
And if on the off chance you meant changing the numbers for the terrain tags, they're under the game settings. You can then change the tileset's terrain tags from there to the ones in game settings, in case you're using the tags for other purposes.
I didn't mean the shadows, I was assuming you could assign a colour to the 1-7 terrain tags than the standard white light, shadows I think look amazing but I figure larger maps may not handle them so they can be disabled no?
The reason why I prefer to use terrain tags for lights is because I use majority of the regions for specific purposes.
There isn't a way to control lights using terrain tags, they're only used for shadow auto-detection and creation.
If you want to have a lot of lights, you would need to use an event calling each light, so you wouldn't need to use region or terrain IDs with them for your lighting. If you want multicolored lights, you would need to make each one in the custom light settings, then call each light by name using comments in the relevant events.
Commercial licenses+supporter covers unlimited games right?
Not just one I mean
Yes, you would be able to use it for all of your commercial games.
This is great, thank you.
Hi, so when i start from a map with the $gameLighting.disable() on, i wish to use the lighting effects to go into a cave however when trasnfering using a door to another map the lighting effects will not enable again in the cave, but they are enabled when i set my starting position in the cave?
Hi, could you update your plugin so that it works with PIXI 5.3.0? The moving lights (e.g. lantern, flashlight) all lose their smooth boards in this version of PIXI. The same doesn't happen with the community lighting plugin.
I could update it to 5.3.0, but I think I could be incompatible with earlier version of PIXI, which RPG Maker is using. So currently I will just stick with the default PIXIJS version.
Hey Shora, why are the vertical shadow areas lighter than the horizontal shadow areas?
I am using version 1.8.3. The same error also occurs in 1.9.4 (with the added issue of lights "turning off" when I get too far from them)
As of now, I can't use the shadow system.
I'd be grateful if you can provide a small demo, or at least a map that demonstrate the problem for me, that would certainly help me fixing your problem. Currently I can't recreate the problem on my side, sorry!
Was this ever resolved? I'm having the same issue, strangely enough.
Hello!! Fantastic plugin to start!. Why im here..I know you can shut off the entire map lighting by adding [lighting off] into the comment of a map setting but i was wondering if there was an event line to control this aspect or if its stuck in the map settings. Im sure its user error on my end but figured id reach out here.
You can turn off the lighting by using the script $gameLighting.disable(), and enable it again by $gameLighting.enable()
I'm uncertain as to how to use Terrain Tags in order to have the map cast the shadows without using the Region ID. The rpgmaker thread says it can be changed in game settings, but I don't see the option for it anywhere in the plugin settings? I see in another comment that it isn't implemented, and I'm wondering is it a bug that it was left out by mistake, or was it causing issues and needed to me disabled?
it looks like
_.scanTileNoteTag = function(tileNoteTag) {
//
}
is not implemented yet for checking Terrain Tags. Are there plans to implement this? I was curious why my Terrain Tags were not working and dug into the code a bit
Same, I use Region ID to set what spawns and Region restrictions, so the shadows don't work on my maps, and look weird when I walk up to a region ID marker
To be fair to the author, it looks like you have to iterate though all layers of all tiles in a given scene to find the tile tags from the current RPGMZ APIs so solving this is a bit more challenging and probably needs a more efficient way to approach this i.e. needs to iterate once per scene start and cache tile references with tags in some type of hash map or look up table to make this more efficient. I was thinking about doing it and sharing the code but not a lot of time currently and I am forcing myself to finish a short game I am working on right now
Is there a way to set the offset for the light based on which direction the sprite is facing? I'm using taller sprites and the flashlight is illuminating my character's head.
I didn't have that use case yet, so it wasn't implemented. I don't really understand your intentions, so if it is possible, could you send a simple demo with your minimal setup (plugins) and my plugin? I will add this feature if it is possible. We can talk more about this if you want, via forum PM or Discord DM. :D
I'm mostly just looking to be able to set the light offset for when my character is facing up, down, left, and right individually. So, if I'm facing right it's say: 12, 20 but facing left it's -12, 20. Same for up or down.
Did you find a way to offset the flashlight position?
I'm also curious if this is possible. My sprite's big head is illuminated when facing up.
I've been struggling with trying to use this plugin, I'm new to RPGMMZ and there are not many tutorials to help, it would be great if anyone could help, I can't seem to figure out how to use it (I'm trying to have a flash/light follow my character)
Did you check the wiki? https://github.com/shoraaa/ShoraLightingSystem/wiki
Also, the forums is a pretty lively place to get support. Did you try it yet? https://forums.rpgmakerweb.com/index.php?threads/mz-mv-v1-9-2-shora-lighting-sha...
I did, I forgot to update this but i've figured out my problem! Thanks for reaching out though
Hello everyone!
I really love the light plugin -ShoraLighting-.js!!!
But I've got one problem:
The light's turn off as soon as the actor is not within 8 or 10 tiles of them.
Is there a solution for this? With similar plugIns, you can set the range of the lights to be charged. But I would much rather use this PlugIn.
Kind regards
-Splatterguy-
I have found a solution to my problem.
After I used another image as a light source (I think it had a different scale), it stopped disappearing at the edge of the monitor.
Problem solved!
Hey there! I currently only accepted PayPal, so if you have a bank account you can link it with your PayPal account and buy the license by that. I'm uncertain if there way to transfer iDeal to PayPal though, so you can look into that.
Hello I tried downloading the demo mv 1.9.1 rar but before having the chance to extract it I just get a window error that says "the archive is either in unknown format or damaged." if I open the folder.
Did you solve the issue? I did try to re-extract the file, and it seems to work perfectly for me. You can try to use 7zip as mine, though I did compress the rar using winRAR.
It didn't work with rar but I downloaded 7zip and it could extract it now, thank you!
Best 30 bucks spend for dev
Hope this will aid you in the continuation of your work !
Now "let's there be light !" :)
Thank you!
Is there a place where all commands and parameters are listed for this plugin? Also is there a comprehensive guide on how to use this plugin? I read the itch.io post and wiki and RMMZ forum and that seems like its only scratching the surface. Thanks for this amazing plugin its super cool!
I tried to rewrite the wiki section not a long time ago, but seems like it still barebone and not having enough information. Currently I'm refactoring my code, so hopefully there will be a better API documents by then. Thank you for support my plugin!
This is so amazing! yer on the buy list for sure when I get new jerb or save enough from the shite mobile games Im playing ;-; this will make my free stuff Im making SOOO much better! I had to start looking at this cause the new update and galv DO NOT get along randomly so my old way of doing shadows for myself just doesnt work ;-; but this is SUCH AN UPGRADE! thank you so much for allow us to use it for free for non commercial! saved my game lol. your demo project sincerely blew me away with its dynamic lighting.
(figured this part belonged in comments not review)
Thank you for your kind words!
Thanks you so much for continuing this plugin. This is the best lighting one.
Unfortunately, the 1.9 (MZ) seems to have trouble with me.
I don't know why, but when carrying a light, if the player do some specific action, the lights settings suddenly change for 1 frame.
Going back at 1.8, and no problem. So will stay on that one for now as the constant flashes are desorienting ^^;
Do you want me to send something to understand/inspect the thing ? :)
Hey there, thank you for your report! I don't understand the issue though, can you tell me more about it? If you can, consider adding me on Discord (.shora), I'd gladly fix the bug!
Sure thing, sorry for the delay ! :)
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
Hey there, I don't upload it to steam, since you can download the plugin here freely. You only need to buy the plugin via PayPal if you planning to use the plugin for commercial purposes :D.
I like to pay creators for their work, whether I use it for commercial purposes or not, you have done a great job and deserve to be paid for it.
Hello, would it be possible to maybe set the ambient light on a map, with a notetag in map properties? It would be an easy way to define which maps are sunny outside or which maps are dark dungeons (maybe not easy to code though, I don't know much about that)
I'm working on that right now! :D Stay tuned!
Nice :D
1.9.1 version released! Massive MV optimizations (2fps -> 50 fps).
hola shoraaa tengo una preguntaestoy un juego y me preguntaba si podia usar este plugin lo digo por que no entiendo lo de licencia comercial si es que no puedo usarlos si pagar o si es que no me quiero meter en problemas entonces me puedes decir porfa?
Hey there, thanks for using my plugin! For the TOSs, you can freely use the plugin as long as your game is non-commercial (completely free to play). If it is commercial by any means however, you are required to buy the commercial version license in order to use it in your commercial project! Help it help clear the confusion~!
Hi, I have one question, I was interested in buying your light plugin, but I only see it available here and with paypal, I wonder if you can't upload it to Steam? To be able to buy it from there.
Version 1.9 is released! Feel free to give your feedbacks and feature suggestions!
Omg yes, Im so glad to know youre back, I can purchase now.
Thank you!
This shouldn't be incompatible with any plugin that doesn't handle lighting, yes?
It should be. But I'm not sure about those "Core" plugin, as they may change the way the game function. If you have any problem with those, just let me know!
ah you're right, I forgot about those, I'll just test and let you know. Do you have any recommendations on load order?
Hey Shora, another issue: The light's turn off as soon as the actor is not within 8 or 10 tiles of them. It's noticeable because the ambient light disappears at the edges of the screen when you walk away.
Is there a way to download the old 1.83 version for now?
I temporally added the old version to the download section (you need to remane it back to -ShoraLighting-.js), but I still want to solve all the issue you exprienced. Do you have a Discord? Please add me Shora#3835, I'd like to hear about all your issues.
Have you found a solution to the problem of the lights going out?
I'm struggling with the same problem and can't find a solution.
Hey, I just reverted back to the older version. Maybe there’s a fix now?
I have found a solution to my problem.
After I used another image as a light source (I think it had a different scale), it stopped disappearing at the edge of the monitor.
Problem solved!
How do you turn the ambient shadow off for certain maps? The plugin works great, but when I go outdoors it's completely dark.
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
hi there, can someone tell me how to use the plugin? i used to use khas lighting system and i hop into this plugin instead. i tried to use the plugin but it doesn't do anything (no error or anything, it just doesn't work). i already follow the tutorial but it still the same.i don't know what I did wrong here
Did you have a folder named lights in /img/ ? You can just copy my lights folder from the demo to have a quick start :D
i did. i was using khas lighting plugin before i turn to yours. when i copy the image from your plugin demo folder to my own folder, it didn't work at all. i guess both plugin clash with each pther and if not, maybe my other action did it though i forgot what.
If it didn't work at all, can you provide me if there any error show up when you opened the Developer Console (F12)? Also, can you think of any plugin which would clash with the lighting plugin? I would like to have the plugin list if possible!
hmm, when i try to use the plugin it didn't say any error. My game works perfectly fine, maybe i lt's just me who don't know how to trigger the plugin.
How to not have the black shadow on all maps?
You can disable lighting every time with a simple script call: $gameLighting.disable(), and it will completely turn off the plugin for you. Another way is to just set the ambient of your desired map to #FFFFFF, which is the same as not having shadow.
So, first off. I did DL this for free (For Now). I am going to see if I can actually figure it out, if I can, I will pay for the commercial version. Now my big question because this part always messes with me.
Create a folder named lights in /img/, and puts your light images in here.
where do I get said images? This part always gets to me. Also, to be sure...this is made for MZ as well, correct?.
Thank you
You can create a simple light image from any image editing app, or you can just use my image from the demo to get a quick start! It totally free for anyuse.
The data in demo seems to be corrupted. If you could please re-upload the file, it would be much appreciated.
I love this, is it getting an update?
The download says its for 1.8.4, but once downloaded the js file says it's 1.8.3 -- is that a typo, or is the download not updated yet?
Giàu :(
Is there a command to turn off the plugin on a map?