2d lighting

Started by
1 comment, last by 6677 11 years, 8 months ago
I've been working my way through a few XNA tutorials recently and think its finally come to the time where I can actually start a project. I'm not particularly new to programming, hadn't used C# before XNA but have used python, VB.net and a little ruby and lua before but never used graphics before XNA (if you ignore GUI's with winforms and messing around with pygame when your not really ready to go there). I have a few small projects in mind (1 may well be able to be made into a larger project aswell) but one of them requires some form of lighting in it, this is something I've not ever used before.

Has anyone got any links to good resources on 2d lighting techniques?

The only thing I've thought of so far is the old pokemon GBA games where they covered the screen with black with a small hole in the middle for the player, I guess that might work and would be easy enough to code but really I want to do some proper lighting.

Any help much appreciated.

[spoiler]Not needed as much. To help improve my XNA skills I do already have another project to work on short term (mate challenged me to clone a simple game maker game that he made in XNA), the projects I want some lighting for I'm still pinning down a few details first and making a few little demo's of little parts before I decide which one to plunge into.[/spoiler]
Advertisement
There a couple XNA libraries for dynamic lighting/shadows, one is Krypton http://krypton.codeplex.com/ I only know of its existance, I've never personally used it.

Here is an article describing one technique: http://www.gamedev.n...t-shadows-r2032

Here's another technique using XNA and shaders: http://www.catalinzi...mic-2d-shadows/

I thought there used to be another good article on 2d lighting on this site, it was a bit older but may have been useful, unfortunately I can't seem to find it.
Thank you, all 3 of those links appear very useful.
I'll probably demo with both of the XNA related links and see which works better for me

+1'ed

This topic is closed to new replies.

Advertisement