Jump to content

  • Log In with Google      Sign In   
  • Create Account

2d lighting


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 02 August 2012 - 04:03 AM

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

Edited by 6677, 02 August 2012 - 04:04 AM.


Sponsor:

#2 laztrezort   Members   -  Reputation: 972

Like
1Likes
Like

Posted 02 August 2012 - 08:41 AM

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.

#3 6677   Members   -  Reputation: 1058

Like
0Likes
Like

Posted 02 August 2012 - 10:00 AM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS