Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to make a 2D Point Light in XNA, I was able to find some helpful information but it is too advance for me, since i know nothing about Shaders

So my best aproximation is use a texture and use alpha blending, but im not happy with this result.

So I was wondering, what is the most simple method to make a simple 2d point light? I'd rather code examples.

share|improve this question

Well I'm afraid you are going to have to learn about Shaders. Catalin's XNA Blog is an excellent place to start and has a great tutorial on using them for lighting effects.

Shader Overview

Smooth Shadow Tutorial

share|improve this answer

If you want something a little easier, without having to know about everything going on under the hood, I've heard that Krypton is a pretty good 2D lighting engine for XNA.

Alternatively, there's the blog posts from Catalin Zima (here and here) as well as a pretty enlightening (minor pun intended) thread on the subject here.

Lastly, although it's not free for commercial use, the Sunburn Game Engine has support for 2D lighting, among many other things.

Otherwise, you're probably going to have to get your hands dirty and learn the shaders if you want to implement it yourself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.