-
Notifications
You must be signed in to change notification settings - Fork 2
Order Independent Transparency Demo
License
turol/oitDemo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
SMAA Demo This is a small program demonstrating the use of the Subpixel Morphological Antialiasing implementation from https://github.com/iryoku/smaa/. Building ======== Linux: Go to /binaries and type make. To change build settings copy example.mk to local.mk in the same directory. You only need to include changed lines in local.mk. Emscripten: Go to /emscripten and type make. On Windows you will need to run this through MinGW shell configured for Emscripten. Change build settings with local.mk as on Linux. Emscripten version is currently broken. Windows: There is a Visual Studio 2013 solution in /windows/SMAADemo.sln. You will need SDL2 headers and Windows libraries. Usage ===== Command line options: "--gles" - Use OpenGL ES. "--gldebug" - Enable OpenGL debugging. "--noinstancing" - Disable instancing. "--dsa <mode>" - Select DSA mode: "arb", "ext", "none". "--glmajor <version>" - Specify OpenGL major version. "--glminor <version>" - Specify OpenGL minor version. "--width <value>" - Specify window width. "--height <value>" - Specify window height. "<file path> ..." - Load specified image(s). Cycling through images not yet supported. Key commands: A - Toggle antialiasing on/off C - Re-color cubes D - Cycle through debug visualizations. Hold SHIFT to cycle in opposite direction. F - Toggle fullscreen H - Print help M - Change antialiasing method (SMAA/FXAA) Q - Cycle through AA quality levels. Hold SHIFT to cycle in opposite direction. V - Toggle vsync SPACE - Toggle camera rotation ESC - Quit Third-party software ==================== GLEW (http://glew.sourceforge.net) GLM (OpenGL Mathematics) (http://glm.g-truc.net/0.9.7/) stb_image (https://github.com/nothings/stb/) TCLAP (http://tclap.sourceforge.net) Authors ======= Turo Lamminen turotl@gmail.com Tuomas Närväinen tuomas.narvainen@alternativegames.net Copyright and License ===================== Copyright (c) 2015 Alternative Games Ltd / Turo Lamminen This code is licensed under the MIT license (see license.txt).
About
Order Independent Transparency Demo
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published