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

Currently, in my game - I'm not using XNA's SpriteBatch to render anything(I am using Farseer Physic's Debug View), and I was wondering how I would render something like this:

enter image description here

only using XNA. My second question is once I have drawn these stenciled sprites , how would I give the "stenciled" lines a glow effect like so:

enter image description here

I haven't done anything like this before so It is a very confusing experience for me. Any pointers?

share|improve this question
The general technique for glow is here – bobobobo Dec 8 '12 at 17:42
up vote 3 down vote accepted

If the line drawing in Farseer's samples is too thin, you could use something like this library to draw thick lines.

For the glow effect, check out the XNA Bloom Sample.

The basic process is to render your scene to a render target. Then render the render-target to the screen twice: once normally and once with a blur effect using additive blending.

share|improve this answer
Thanks man :) – Grey Oct 12 '12 at 22:45
To anyone wondering which library to use to achieve the stenciled sprites I used this library Very easy to use and well documented. – Grey Oct 13 '12 at 14:01

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.