8
\$\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\$
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\$
  • \$\begingroup\$ This link now leads to something completely unrelated to the question. This is why we recommend against link-only answers. \$\endgroup\$ – DMGregory Jun 9 '18 at 15:30
5
\$\begingroup\$

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

\$\endgroup\$
  • \$\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 Jun 9 '18 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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