This is a small project testing
- Derelict3
- OpenGL 3+ API
- Multipass post-processing effect via shaders and render-to-texture
- D builder for SCons
- SCons targets
I do not guarantee that this is the good way to do. You're free to improve it anyway :) Moreover, I've focused on clear understanding of what is happening, there must be faster ways to achieve this too, but it's not the purpose.
As there is no innovation here, I put codes in Public Domain. The default texture comes from one of my pictures licensed under CC BY NC SA 3.0.
Sources and acknowledgements:
- authors and communities around D, Derelict, SCons... :)
- Render-to-texture tutorial on OpenGL-Tutorial.org
- Gaussian blur filter shader on GameRendering.com