Friday, October 10, 2014

Dynamic Lighting for 2D games

A tool that automatically generates normal maps from sprites


While working on InDee Toons, I have discovered a way to create dynamic lighting information for 2D images.
After some pretty promising tests with Image Magick, the first prototype of Sprite DLight was born.
What initially started as a research on how to provide normal maps for my game characters, turned into an independent project that seems to be of interest to a lot of people.
2D games and pixel art combined with dynamic lighting appears to be an explosive mixture, because you can achieve wonderful atmospheric effects while maintaining the individual 2D art style.

I am developing the tool for Windows and Linux platforms and hope to show it on kickstarter soon.
The core feature of Sprite DLight is the generation of a normal map from one single sprite file as the input image.

While existing normal map generation tools need at least two additionally drawn lightmaps to produce a normal map (which can be painful when you want to use it with animated characters), Sprite DLight can be fed with already existing sprites and sprite sheets, reducing the effort needed to create the 3D information, to a few clicks.

An example of an input sprite from the game "Boot Hill Heroes" by Experimental Gamer, which is released on Steam today, and the resulting normal map, depth map, ambient occlusion map and specularity map generated by Sprite DLight:

Annotation: "Boot Hill Heroes" does not feature dynamic lighting (this should not prevent you from checking it out), but the artist kindly allowed me to use the sprites.

I am now looking for more nice art of different styles, depicting game characters, objects, trees and more, to demonstrate the effect of dynamic lighting and the quality of the automatically generated maps.
If you are interested in making a 2D game featuring normal mapped sprites, or if you would like to see your art with dynamic lighting - probably featured in my kickstarter video/page (of course with a reference to you and your copyright), please leave me a comment, use the contact form or email me.

Also be sure not to miss the updates here, on Facebook and on Twitter.

37 comments :

  1. Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
    Pendant Lights

    ReplyDelete
  2. Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people.. responsive wordpress theme

    ReplyDelete
  3. Reach is a prequel to the hit series' Halo and was developed by Bungie. This anticipated game will be out in the fall of 2010 for the Xbox 360.http://trichefortnite.fr

    ReplyDelete
  4. We should probably reserve the term "game engine" for software that is extensible and can be used as the foundation for many different games without major modification.trichefortnite.fr

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Cherish the way eminently every word is created with real change.
    Poker Indonesia

    ReplyDelete
  8. hello!! Very interesting discussion glad that I came across such informative post. Keep up the good work friend. Glad to be part of your net community. Jumpy Frog game

    ReplyDelete
  9. The game is as interesting as any other quiz games or online trivia games. Charades also improves IQ as it involves lot of mental exercise in form of guess works. Click Here

    ReplyDelete
  10. Wonderful illustrated information. I thank you about that. No doubt it will be very useful for my future projects. Would like to see some other posts on the same subject! Official Website

    ReplyDelete
  11. People often have trouble understanding the word "tradeoff", sure enough it's easy enough to understand as exchange but in today's corporate parlance it is meant as exchange of one commodity as a cost for another. I was playing Final Fantasy's Dissidia on the good old PSP yesterday when I marveled at the video games replay value, yes I have spent over 50 hours on it already, which is what this entire topic is all about. Normally if you look at the oldest games like Mario and Dave, they had one thing unanimously common, addiction to it.

    ReplyDelete
  12. Though adventure and role-playing games often contain violence, it is not found to be as intense as the violence in action games. Examples of this category are Borderlands 2, Final Fantasy, Legend of Mana and Billy Hatcher.unblocked games 800

    ReplyDelete
  13. Even though most sites advertise and offer "unlimited video game rentals",read this article this does not mean you can rent as many games at you want at one time.

    ReplyDelete
  14. Great survey, I'm sure you're getting a great response. toon blast hack cheat online

    ReplyDelete
  15. People often have trouble understanding the word "tradeoff", sure enough it's easy enough to understand as exchange but in today's corporate parlance it is meant as exchange of one commodity as a cost for another. I was playing Final Fantasy's Dissidia on the good old PSP yesterday when I marveled at the game's replay value, yes I have spent over 50 hours on it already, which is what this entire topic is Conflict of Nations Mobile about. Normally if you look at the oldest games like Mario and Dave, they had one thing unanimously common, addiction to it.

    ReplyDelete
  16. Royal Games Candy Crush it possible to monetize on a Flash games website? Why this internet money making idea may not be such a good one.

    ReplyDelete
  17. It is an excellent blog, I have ever seen. I found all the material on this blog utmost unique and well written. And, I have decided to visit it again and again. KET QUA MOI NHAT

    ReplyDelete
  18. As they say, name it, and they'll have it. Card games and casino games are rivals for the top spot when it comes to interest, and the list of titles available would take a lot of time to write here, should we bother trying.download full games

    ReplyDelete
  19. Users that choose to play games that are offered online are playing over a link in their web browser or through online communities. People that own a computer that operates Microsoft Windows may have a number Click here games programmed into their software system including backgammon, checkers, solitaire, chess, minds, and many more. Depending on the installation and options selected during configuring windows these components or gaming modules may be installed for all users to load up and play a few of the games online.

    ReplyDelete
  20. Aside from it, it has attractive pedals with high goals alongside contactless sensors one the weight of gas and grip. NFSManiac

    ReplyDelete
  21. Call of Duty: Modern Warfare 3 is a first-person shooter game which is a part of the Call of Duty: Modern Warfare game series. The game call of duty mobile mod apk loved by millions of fans around the globe. It includes different modes, so you can choose the gameplay you love.

    ReplyDelete
  22. There is a myth among some people that video games are not 'healthy' for kids, but let's assure you that it is NJ Sportsbook really the case. As a matter of fact, online games can be rather healthy and beneficial to them, provided that they are enjoyed with certain guidelines. Moreover, family members can also get involved, and enjoy gaming together.

    ReplyDelete
  23. his is the excellent blog page for anyone who wants to know about this theme. You recognize a lot its virtually difficult to argue with you (not that I really would want…HaHa). You absolutely put a fresh spin on a subject matter thats been published about for many years. Wonderful things, just excellent! Game Hack

    ReplyDelete
  24. Video games have been around since the 1980s and since then, there have been plenty of colorful and sometimes even unusual games that have been played. Of course, there have also been plenty of twisted games that have also been hits in the league of legends wild rift download industry. In this article, I will talk about at least 5 of those games, including: Grand Theft Auto, Mortal Kombat, The Sims, Destroy All Humans, and Conker's Bad Fur Day.

    ReplyDelete
  25. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. w88coid

    ReplyDelete
  26. I have to look for goals with essential information on given point and offer them to instructor our inclination and the article.
    Eagles vs Cowboys Live Stream

    ReplyDelete
  27. This information is meaningful and magnificent which you have shared here about the 2D games. I am impressed by the details that you have shared in this post and It reveals how nicely you understand this subject. I would like to thanks for sharing this article here. If anyone interested to Play Online Racing Games, spideygames is a good choice.

    ReplyDelete
  28. Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I'll be subscribing to your feed and I hope you post again soon. Big thanks for the useful info. free v bucks

    ReplyDelete
  29. Yes i am totally agreed with this article and i just want say that this article is very nice and very informative article.I will make sure to be reading your blog more. You made a good point but I can't help but wonder, what about the other side? !!!!!!THANKS!!!!!! brownsgamelive.com

    ReplyDelete
  30. This is my first time visit to your blog and I am very interested in the articles that you serve. Provide enough knowledge for me. Thank you for sharing useful and don't forget, keep sharing useful info: Hay Day hack

    ReplyDelete
  31. Thank you for some other informative website. The place else may just I get that kind of information written in such a perfect method? I have a venture that I am simply now running on, and I’ve been at the glance out for such info. watch dallas cowboys live

    ReplyDelete
  32. Adding Workplace Games, also called Gamification, to your business will both motivate and unite your business towards maximizing new opportunities. In an interview, Tom Kalil, (Deputy Director for Policy for the White House Office of Science and Technology) made the point that NASA's use of Gamification had a Return on Investment 5 to 10 times higher than the costs associated with the rewards that the game generated. Gamification will motivate and unify your stakeholders in providng unique products and services that differentiate your business and identify new markets and opportunities. free eshop codes

    ReplyDelete
  33. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. patriots game live stream free

    ReplyDelete
  34. This comment has been removed by the author.

    ReplyDelete
  35. I like the valuable info in your articles. I'll bookmark your blog and check again here regularly. I'll learn plenty of new stuff right here! Best of luck for the next! Regards watch nfl games live

    ReplyDelete
  36. Keep it short. When advertising on a mobile system, maintain your messages short, crystal clear, and also persistent. While increasingly more mobile phones have the capacity to present long messages, the longer the message is, the less likely your possible consumer is to review it. A brief as well as succinct message is a lot more effective in involving a reader. how to get free vbucks chapter 2

    ReplyDelete
  37. I’ve read some good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a great informative website. 바둑이사이트

    ReplyDelete

© 2015 2deegameart.com