RMMV [MV+MZ] FIXED v1.6! Optimized Lighting with Real-Time Shadows (new: saving system fixed!)

What would you like to see implemented next in this plugin? (you can vote for multiple ^^)


  • Total voters
    45

ToshaAngel

Regular
Regular
Joined
Jun 23, 2019
Messages
53
Reaction score
25
First Language
Russian
Primarily Uses
RMMZ
@ToshaAngel Thanks for the texts ^^
As I thought, the issue is that you didn't refresh the plugin parameters after updating the plugin. Whenever you update the plugin, you need to open each plugin parameter to let the new values "refresh", that way there are no errors. The problem this time is that your "custom direction offset" settings for each light wasn't defined, so when it tried to parse it, it would just fail.
To prevent this, I'll add some error handling and defaulting, but for now, just go through each parameter in the plugin, open it, then click ok, that way it'll refresh and set the new values to their default values ^^
Thank you very much! I would never have thought that everything is so simple)))
I have a small wish for the plugin:
You can make a smooth color transition with the transition time selection to perform the transition of the time of day.
For example: night is replaced by morning, and the light smoothly transitions from dark to light in accordance with the set time/framework of the developer.
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
Thank you very much! I would never have thought that everything is so simple)))
I have a small wish for the plugin:
You can make a smooth color transition with the transition time selection to perform the transition of the time of day.
For example: night is replaced by morning, and the light smoothly transitions from dark to light in accordance with the set time/framework of the developer.
Glad it helped!
From my understanding, you're suggesting a plugin command that allows for a smooth transition between two different colors, for a set time?
 

ToshaAngel

Regular
Regular
Joined
Jun 23, 2019
Messages
53
Reaction score
25
First Language
Russian
Primarily Uses
RMMZ
Glad it helped!
From my understanding, you're suggesting a plugin command that allows for a smooth transition between two different colors, for a set time?
Yes, that's right!
 

ToshaAngel

Regular
Regular
Joined
Jun 23, 2019
Messages
53
Reaction score
25
First Language
Russian
Primarily Uses
RMMZ
Very interesting.
Yesterday everything worked, I turned off the computer and went to bed, and today it gives this error.
1631781948806.png
I tried to remove all the light sources on the map, but it didn't help.
The image of the shadows is specified in the map tags, the commands are not executed, an error occurs immediately and that's it.
 
Last edited:

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
Very interesting.
Yesterday everything worked, I turned off the computer and went to bed, and today it gives this error.
I tried to remove all the light sources on the map, but it didn't help.
The image of the shadows is specified in the map tags, the commands are not executed, an error occurs immediately and that's it.
Try updating the plugin to the newest version.
I think that what's happening has been fixed by the newest version
(make sure to refresh your plugin parameters like before, once you update)
 

Neptrone

Regular
Regular
Joined
Apr 23, 2021
Messages
102
Reaction score
48
First Language
.
Primarily Uses
N/A
So is it possible to do "Light Baking" ?
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
So is it possible to do "Light Baking" ?
Depends what you mean by that exactly
Currently, since there are only static-shadows (event shadows haven't been implemented yet), the lights are calculated/baked once, and are re-calculated whenever they move/their size change. Any other changes will not cause a recalculation of the affected lights ^^
(ie: the lights are baked at the start of the scene, dynamic lights need to be recalculated after each change)
 

penguindadar

Warper
Member
Joined
Aug 27, 2016
Messages
1
Reaction score
0
Primarily Uses
N/A
when i use “(MZ) Lighting System v1.5 PRO ”, it makes player cannot save in the game.it has the same problem in the demo without any other plugins
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
when i use “(MZ) Lighting System v1.5 PRO ”, it makes player cannot save in the game.it has the same problem in the demo without any other plugins
Thanks for the bug report! I've checked and yup, I'll need to make a small update to be released soon that will fix this issue ^^
 

ephesus

Regular
Regular
Joined
Dec 10, 2015
Messages
181
Reaction score
93
Primarily Uses
Have alpha images used as light templates been/going to be implemented?

Also, I assume it would be on his side but would it be possible to make this plugin compatible with Blizzard's Ultra Mode 7 plugin? UM7 already has compatibility code for OCram's MV lighting plugin (as well as Khas, Terrax and Community Lighting) so possibly wouldn't be a major task. Alas, I know not the heaviness of scripting and have no idea of the depths of the request... I guess shadows would be the major issue. Blizzard couldn't get Khas' Ultimate with Shadows to work but you would be a legend if you could figure it out. Even without shadows working would still be worth it IMO.
 
Last edited:

ephesus

Regular
Regular
Joined
Dec 10, 2015
Messages
181
Reaction score
93
Primarily Uses
So is it possible to do "Light Baking" ?
wouldn't this basically be the same as making a lighting layer (parallax)? using a layer would also have the benefit of lighting the characters and events also which baked in lighting wouldn't. I don't think you can bake into a tileset without the creation of a massive new tileset that would be way less efficient than just making a lighting layer. You could bake with a 3d program but still you'd import as an image and throw it in as a new layer.
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
Have alpha images used as light templates been/going to be implemented?

Also, I assume it would be on his side but would it be possible to make this plugin compatible with Blizzard's Ultra Mode 7 plugin? UM7 already has compatibility code for OCram's MV lighting plugin (as well as Khas, Terrax and Community Lighting) so possibly wouldn't be a major task. Alas, I know not the heaviness of scripting and have no idea of the depths of the request... I guess shadows would be the major issue. Blizzard couldn't get Khas' Ultimate with Shadows to work but you would be a legend if you could figure it out. Even without shadows working would still be worth it IMO.
If, by alpha images, you mean using custom images to make lights, then yes, it has already been implemented ^^ beyond that, custom spritesheet animations for the lights has also been implemented, which I'm pretty sure the other lighting plugins haven't yet implemented

As for the compatibility with that plugin, I'll look into it once I've fixed the saving issue ^^

wouldn't this basically be the same as making a lighting layer (parallax)? using a layer would also have the benefit of lighting the characters and events also which baked in lighting wouldn't. I don't think you can bake into a tileset without the creation of a massive new tileset that would be way less efficient than just making a lighting layer. You could bake with a 3d program but still you'd import as an image and throw it in as a new layer.
The "lighting" for this plugin is basically just an extra layer on top of the map's spriteset, so basically what you're mentioning here I think ^^ You can also use parallax mapping to create a shadow map for this plugin, btw (instructions are in the help file, and there's a demo of it in the top post)

By saying that "yes, it's basically baking the light", I just meant that any static lights you have in your scene are basically never updated as long as they don't need to be, meaning that they are "baked" at the start of the scene (I know, maybe not the right term for it xd)
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,238
Reaction score
3,510
First Language
Dutch
Primarily Uses
RMMV
@DaedraTalos any new update? and light not seen through walls/tiles?
or did you cancel the plugin for the time being for things in RL?

I hope you doing ok though :)
 

rhapsodymipo

Villager
Member
Joined
Jan 30, 2015
Messages
20
Reaction score
6
First Language
portuguese
Primarily Uses
Hmm, seems like this has been abandoned. It's a shame, for it had potential
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
Hey there everyone!! :kaojoy: (@rhapsodymipo @ShadowDragon @penguindadar)
So, you might've noticed but I've been gone for the last few years :kaoslp: stuff happened, but one of the main things was university, which I'm finally done with!!
Sorry for disappearing for so long!! :kaophew:I'm back now! And I've already started making changes!

I've updated the plugin to fix the saving issue (MV and MZ) - that should work fine now!!
I'll have more time to be active now, so feel free to reach out if you want any additions made to the plugin!!
I'm also looking to create a new major plugin, so let me know if you have any ideas for a plugin that would help lots of people!
 

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
8,238
Reaction score
3,510
First Language
Dutch
Primarily Uses
RMMV
@DaedraTalos welcome back :)

Although I use another plugin, there is a still a few things others might not have,
so please continue anyways that make new users to choose from :)

I dont have any idea or suggestions for plugin, but if you think you got one usefull
alot of people see fit, make them =)

and university take first place above coding as it isn't easy, but glad your back again :)
 

DaedraTalos

Evil Plugin Overlord
Regular
Joined
Jul 8, 2016
Messages
173
Reaction score
173
First Language
English
Primarily Uses
RMMZ
Thanks for the warm welcome! :kaothx:

Glad you were able to find something else that worked for you! Looked a bit at other Lighting plugins, wondering what I could do to make this one stand out.. maybe add height to the lights? (ie 3d lights, the shadows don't go on forever!)
 

twosnakes

Regular
Regular
Joined
Aug 24, 2020
Messages
62
Reaction score
41
First Language
English
Primarily Uses
RMMV
Welcome back from your studies! This plugin looks promising, I'm gonna do a deep dive tomorrow after work. For some reason this never came up in any of my previous searches for lighting plugins :(
 

Latest Threads

Latest Posts

Latest Profile Posts

Steam is going to be forcing me to update my desktop OS for Mac. It's a good thing that my laptop is Windows otherwise some of my work and a lot of game save files for 32-bit games would become unusable for a while.
Last day in Florida and then we head home. It was a fun, relaxing trip with just the wifey poo. Still managed to make some progress on my Game Jam project though.
Never fully realized that I had this account, nice start
On NEOLITHIC's 2nd Steam Anniversary, we walk on the path of Gabe's blessing. :p
GabeNFaithEN.jpg
What might the petitdevil be thinking right now?
1702054100193.png
And did you leave all your love and comments on the advent calendars today already?

Forum statistics

Threads
136,843
Messages
1,270,674
Members
180,609
Latest member
shiranui_bzw
Top