

"Ghost Pizza", ©2010-2014 AlbertoV ( DYA Games), normal map generated by Sprite DLight, dynamic lighting preview recorded in the Sprite Lamp shader In the "Updates" section, there is already a pretty straightforward guide for the technical integration with Unity, including a step-by-step video. is the best result you can achieve with current automatic normal map generators combined with clever techniques, although the result is still pretty poor, it's more of a bevel effect, which is randomly concave or convex, particularly at the edges of the shape.
#Sprite dlight generator
The tool generates bumpy normal maps for dynamic lighting effects in games, based only on already existing 2D sprites.Ī quick comparison of normal maps generated by common tools/plugins to those of Sprite DLight:ġ: Original "Sprite DLight Title Art", ©2014 by the amazing artist AlbertoV from DYA GamesĢ: Normal map created by the GIMP plugin (same as PS plugin)ģ: Normal map created by a common normal map generator with the original sprite used as height map, followed by shape enhancementĤ: Normal map created by Sprite DLight in one clickģ.

Using it for stuff like spotlights on textures sounds more doable but it still seems like a lot of work when I think about it more.I would like to introduce the tool for game developers I am currently running a pretty successful Kickstarter for (funded within 17 hours, now more than 500% funded, all stretch goals smashed):

I think it's one of those ideas like voxel enemy models that sound like it would be neat but wouldn't really be worth the insane amount of work to convert the existing resources. Theoretically someone could create sprites + normal maps for all the Doom enemies and implement engine support for it, but I think the result would be similarly disappointing. The super-smooth lighting makes the effect fairly subtle and I'm not sure I would notice it when playing the game. You can see a snippet of a 2D game using normal maps for lighting in the Sprite DLight kickstarter video. It's not as far along so there's not a lot of info on how well it works. Stretch goal 3 has been reached: a feature to re-render sprites for different environments, based on the normal map. A short update: The Kickstarter is 450 funded with 8 days left. Sprite DLight claims to support determining the depth info from a single image, but I have to imagine that is very hit-and-miss. There are some of Spine users among the backers of Sprite DLight, maybe somebody comes up with the ultimate solution.
#Sprite dlight manual
Merging new normal map after manual removal of the shadow through editing of the Light Maps. The site has examples of what the inputs looks like. Sprite DLight beta build 0.5 released Tweet Sprite DLight 0.5 brings lots of great changes and fixes The Sprite tab now has a new button that allows you to load an external sprite to be displayed with the currently used Normal Map. Yeah, you have to give it a flat-shaded color version and gray scale images showing lighting from different directions. This one claims to work with only a single shaded sprite/texture as input, which sounds great if it actually works. It's on sale now on Steam during the Summer Sale I was thinking of picking it up.ĮDIT: I found another tool called Sprite DLight that is similar. I was actually pondering using it for a Wolfenstein level in ECWolf - instead of those overhead light sprites with the spotlight being part of the sprite, there would be a different flat under the light that has the spotlight baked into it. You can't go crazy with the effects since Doom's sector lighting will ruin the illusion of real lightmaps, but it should be possible to make some textures with some added depth to them. I recall a few Doom wads that have had textures with spotlights and stuff on them but it's such a pain to do it manually it's not that common. I think using it for textures should be much more doable - it can also "bake" lighting into static textures. I've found a brief mention in the forums daydreaming about using it for sprites (I guess with engine support for truly dynamic lighting) but that sounds like a massive amount of work. The demos on the site are pretty impressive: Sprite Lamp is a neat program for doing lighting on pixel art.
