2D Lighting with Sprite DLight or Sprite Lamp

I'm curious if anyone has had any experience using normal mapped sprites as a lighting system?

I doubt RM supports it, but I was curious to find out.
Sure , i actually use Normals for my light system.
It special but yes you can.
The only thing you will need is those thing.


*TexturePacker

*SpriteIlluminator or photoshop

*PIXI-light

You will need know how pixijs ans pixi-light work for sprites and add to rpgmaker, but easy when you master js, dont forget rpgmaker is opensource, so you can do what you want., it just give good base for rpg.
Actually i use this thecnique for my items and maps, where it give good feeling.

I also made a little video about the workflow for help using TexturePacker and SpriteIlluminator
Because no tutorial existe !
k5Hhq08H_o.gif


You can also use photoshop to create bumpMap, harder but PS give some tool to perform that's and generate normals.
nTXVbSgF_o.png


If you use Spine2d or DragonBone, it also work but is hard because the soft are not thninking about thats.
You will need hide normals Slots, and make 2 version of your sprites, thand use as normal in pixi-light.
C3TaGP4b_o.png


Result are good and special, but it fun to have own custom Art
3cywNYtx_o.gif


Hope it will help you.
So for your anwser, yes using Normals as light is a good idea in game, the result are cool.
Rpgmaker it juste JS , yes it supported if you add script for.
I have some video where i use it in rmmv.

You will maybe no see this natively in rmmv because... i dont know , easy but rmmv are missing and lack a lot of features and missing a lot of pixijs stuff, ask KADOKAWA dev why they coding like foot !?
Wow, I had no idea pixi was included in RMMV.

Thanks, this was a good watch.

I wonder how the effect would work on tilesheets...
Wow, I had no idea pixi was included in RMMV.

Thanks, this was a good watch.

I wonder how the effect would work on tilesheets...
welp, let said they actually integrate pixijs as 30% 🙂
For tiles in rmmv, they are using the pixi plugin made by ivan.
Am not using it in my project so dont know the felling, i using pure big sprite for map.
I did experiment with Normal maps on RM tile sets using Blender, just to give it a bit more effect but to get such lighting effect in RPGMaker would nice.

@Jonforum : I never heard of this kind of workflow you showed there but it looks pretty neat actually, thanks for sharing.
One other member got pretty far in almost creating a pixi.js plugin for deferred lighting in mv but may have abandoned the project:


you can download the test project here:

perhaps Jonforum or another dev can create something similar using this as inspiration.
i have a version of my editor for rpg maker but i am on another projet right now, no time for support.:|
zI97WgYE_o.gif


You can see light at 3:20



but the new version are not for RMMV
But i can may port to rmmz one day, when have a free week.

Original thread: https://forums.rpgmakerweb.com/threads/2d-lighting-with-sprite-dlight-or-sprite-lamp.131687/