9
\$\begingroup\$

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?

\$\endgroup\$

2 Answers 2

5
\$\begingroup\$

Check out this simple fragment shader implementation with explanation on why's and how's http://www.coniserver.net/wiki/index.php/Screen_Space_Ambient_Occlusion_Shader 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.

\$\endgroup\$
1
  • \$\begingroup\$ This link now leads to something completely unrelated to the question. This is why we recommend against link-only answers. \$\endgroup\$
    – DMGregory
    Commented Jun 9, 2018 at 15:30
6
\$\begingroup\$

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

\$\endgroup\$
1
  • \$\begingroup\$ This answer would be better if it summarized the key points you hope a reader will glean from these links, so that the answer still stands on its own even if the links rot away, as happened with the other answer to this question. \$\endgroup\$
    – DMGregory
    Commented Jun 9, 2018 at 15:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .