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

Ive read a few articles about SSAO, and i would like to implement it in to 3d engine at work, which runs on top of DX9. Can you give me an tips on getting the simplest implementation possible up and running using shader model 3, and how would you upgrade this implementation over time to tackle artefacts like haloing?

share|improve this question
up vote 5 down vote accepted

Check out this simple fragment shader implementation with explanation on why's and how's Although it is fragment/GL and not D3d9, it's simple as it gets, so you should be able to understand what you need to do.

share|improve this answer

A talented programmer (Iq from from rgba) has written good articles:

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.